CVE-2018-25031
published medium CVSS 3.1 · 4.3swagger_ui vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| smartbear | swagger_ui | 0 through 4.1.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
4- n/a
- CWE-922 CWE-922 Insecure Storage of Sensitive Information
- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
- CWE-20 CWE-20 Improper Input Validation
References
4Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bc9b46ccd096c5739629e077f8203f0188ada17d3c50a33150036bf0642e831e
- Ingested
- 23 Sep 2026, 07:44:29 UTC
- Source record
- Official CVE record