cve.bz

CVE-2018-25031 smartbear swagger ui: SSRF

4.3 mediumEPSS 42%Fix available

Medium (4.3) in smartbear swagger ui. EPSS 42% estimated probability of exploitation activity in the next 30 days. Fixed in swagger-ui 4.1.3.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS
42% (unchanged from 42% a week ago; 42% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-07-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-918 Server-Side Request Forgery (SSRF)
CWE-922 Insecure Storage of Sensitive Information
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-25031 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-25031?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-25031?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-25031 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
smartbear:swagger_uibefore 4.1.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cr3q-pqgq-m8c2npmswagger-ui<4.1.34.1.3
GHSA-cr3q-pqgq-m8c2Mavenorg.webjars:swagger-ui<4.1.34.1.3

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON