{"id":"CVE-2018-25031","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-25031","generatedAt":"2026-10-29T00:58:31.972Z","title":"Swagger UI 4.1.2 and earlier could allow a remote attacker to conduct spoofing attacks.","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.","published":"2022-03-11T07:15:07.000Z","lastModified":"2026-06-17T01:54:34.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"},"cwe":["CWE-20","CWE-918","CWE-922"],"affected":["smartbear/swagger ui"],"epss":{"score":0.42326,"percentile":0.98695,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 42.3%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/swagger-api/swagger-ui/issues/4872","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3","tags":["Release Notes","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20220407-0004/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/swagger-api/swagger-ui/issues/4872","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3","tags":["Release Notes","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20220407-0004/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-25031","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}