Medium severity4.3NVD Advisory· Published Mar 11, 2022· Updated Jun 17, 2026
CVE-2018-25031
CVE-2018-25031
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
swagger-uinpm | < 4.1.3 | 4.1.3 |
org.webjars:swagger-uiMaven | < 4.1.3 | 4.1.3 |
Affected products
4- Swagger UI/Swagger UIdescription
- ghsa-coords2 versions
< 4.1.3+ 1 more
- (no CPE)range: < 4.1.3
- (no CPE)range: < 4.1.3
Patches
Vulnerability mechanics
References
8- github.com/swagger-api/swagger-ui/issues/4872nvdIssue TrackingPatchThird Party AdvisoryWEB
- security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-cr3q-pqgq-m8c2ghsaADVISORY
- github.com/swagger-api/swagger-ui/releases/tag/v4.1.3nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2018-25031ghsaADVISORY
- security.netapp.com/advisory/ntap-20220407-0004/nvdThird Party Advisory
- github.com/swagger-api/swagger-ui/pull/7697ghsaWEB
- security.netapp.com/advisory/ntap-20220407-0004ghsaWEB
News mentions
0No linked articles in our index yet.