CVE-2018-25031
MEDIUM4.3EPSS 80.4%Spoofing attack in swagger-ui
Published: 3/12/2022Modified: 9/2/2025
Description
Swagger UI before 4.1.3 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.
Affected packages (2)
- Maven/org.webjars:swagger-uifrom 0, < 4.1.3
- npm/swagger-uifrom 0, < 4.1.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-25031
- PATCHhttps://github.com/swagger-api/swagger-ui
- WEBhttps://github.com/swagger-api/swagger-ui/issues/4872
- WEBhttps://github.com/swagger-api/swagger-ui/pull/7697
- WEBhttps://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
- WEBhttps://security.netapp.com/advisory/ntap-20220407-0004
- WEBhttps://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885