Swagger UI 4.1.2 and earlier could allow a remote attacker to conduct spoofing attacks
Published Mar 11, 2022
4.3
MEDIUMCVSS 3.1
EPSS 42.33%
Description
Swagger UI 4.1.2 and earlier could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions. Note: This was originally claimed to be resolved in 4.1.3. However, third parties have indicated this is not resolved in 4.1.3 and even occurs in that version and possibly others.
Affected products
No data.
- < 4.1.3
-
- Version 0StatusaffectedConstraints<=4.1.2
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Smartbear | Swagger UI | n/a |
|
No Red Hat product state for this CVE.
swagger-ui
npm
Introduced 0 Fixed 4.1.3org.webjars:swagger-ui
Maven
Introduced 0 Fixed 4.1.3
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | swagger-ui | 0 | 4.1.3 |
| Maven | org.webjars:swagger-ui | 0 | 4.1.3 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jul 18, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022-2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (32 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 42.33% (0.42326) | 98.66th | v5 (v2026.06.15) |
| Jun 15, 2026 | 42.33% (0.42326) | 98.52th | v5 (v2026.06.15) |
| Feb 27, 2026 | 80.42% (0.80420) | 99.10th | v4 (v2025.03.14) |
| Feb 26, 2026 | 82.49% (0.82487) | 99.20th | v4 (v2025.03.14) |
| Dec 12, 2025 | 83.68% (0.83676) | 99.24th | v4 (v2025.03.14) |
| Nov 21, 2025 | 81.93% (0.81926) | 99.15th | v4 (v2025.03.14) |
| Nov 18, 2025 | 23.14% (0.23135) | 95.56th | v4 (v2025.03.14) |
| Sep 22, 2025 | 83.59% (0.83594) | 99.25th | v4 (v2025.03.14) |
| May 1, 2025 | 82.09% (0.82093) | 99.15th | v4 (v2025.03.14) |
| Mar 30, 2025 | 83.30% (0.83301) | 99.22th | v4 (v2025.03.14) |
| Mar 29, 2025 | 88.31% (0.88312) | 99.38th | v4 (v2025.03.14) |
| Mar 28, 2025 | 83.30% (0.83301) | 99.22th | v4 (v2025.03.14) |
| Mar 27, 2025 | 85.25% (0.85250) | 99.30th | v4 (v2025.03.14) |
| Mar 24, 2025 | 83.30% (0.83301) | 99.25th | v4 (v2025.03.14) |
| Mar 23, 2025 | 85.25% (0.85250) | 99.31th | v4 (v2025.03.14) |
| Mar 20, 2025 | 83.30% (0.83301) | 99.26th | v4 (v2025.03.14) |
| Mar 19, 2025 | 85.25% (0.85250) | 99.32th | v4 (v2025.03.14) |
| Mar 17, 2025 | 83.30% (0.83301) | 99.23th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.42% (0.00417) | 74.94th | v3 (v2023.03.01) |
| Jul 12, 2024 | 0.38% (0.00377) | 73.03th | v3 (v2023.03.01) |
| May 9, 2024 | 0.27% (0.00265) | 66.04th | v3 (v2023.03.01) |
| Nov 23, 2023 | 0.27% (0.00265) | 64.02th | v3 (v2023.03.01) |
| Aug 22, 2023 | 0.14% (0.00139) | 48.60th | v3 (v2023.03.01) |
| Apr 13, 2023 | 0.13% (0.00125) | 45.56th | v3 (v2023.03.01) |
| Mar 18, 2023 | 0.12% (0.00116) | 43.84th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.10% (0.00096) | 38.73th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.13% (0.04134) | 86.05th | v2 (v2022.01.01) |
| May 27, 2022 | 4.13% (0.04134) | 84.86th | v2 (v2022.01.01) |
| Apr 9, 2022 | 1.21% (0.01213) | 64.30th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.14% (0.01136) | 56.27th | v2 (v2022.01.01) |
| Mar 23, 2022 | 1.14% (0.01136) | 35.23th | v2 (v2022.01.01) |
| Mar 11, 2022 | 1.06% (0.01061) | 29.13th | v2 (v2022.01.01) |
References (7)
- https://github.com/advisories/GHSA-cr3q-pqgq-m8c2 Advisory
- https://github.com/swagger-api/swagger-ui/issues/4872 Issue TrackingPatchThird Party Advisory
- https://github.com/swagger-api/swagger-ui/pull/7697
- https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 Release NotesThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-25031
- https://security.netapp.com/advisory/ntap-20220407-0004 Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 PatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-cr3q-pqgq-m8c2 | Advisory | |
| https://github.com/swagger-api/swagger-ui/issues/4872 | Issue TrackingPatchThird Party Advisory | |
| https://github.com/swagger-api/swagger-ui/pull/7697 | ||
| https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 | Release NotesThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-25031 | ||
| https://security.netapp.com/advisory/ntap-20220407-0004 | Third Party Advisory | |
| https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 | PatchThird Party Advisory |
Change history (0)
No recorded changes yet.