Skip to content
Emerging threatsMedium

CVE-2018-25031Swagger Ui SSRF

Spoofing attack in swagger-ui

Published Mar 12, 2022 · Updated Oct 24, 2026 · Also known as CGA-6mq7-6mqm-g23x, CGA-jhg6-h7cm-7m82, CLSA-2026-1785468079, GHSA-cr3q-pqgq-m8c2, GHSA-qrmm-w75w-3wpx

Key Facts

Patch immediately
  • CVE-2018-25031 is a medium-severity vulnerability (CVSS 4.3 v3.1) affecting Swagger Ui (Smartbear), jellyfin (wolfi), org.webjars:swagger-ui (npm) and 4 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 66% probability of exploitation in the next 30 days.
  • Fixed versions are available, including @seal-security/swagger-ui 3.17.1-sp999, jellyfin 10.9.2-r1, org.webjars:swagger-ui 4.1.3.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

4.3

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

EPSS (30-day exploit likelihood)

66%

Higher than 99.2% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

44/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

14 affected entries in total
ProductAffected versionsFixed in
Swagger UiSmartbearSee advisory4.1.3
jellyfinwolfiSee advisory10.9.2-r1
org.webjars:swagger-uinpmSee advisory4.1.3
swagger-ui-distnpmSee advisory4.1.3
swagger-ui-reactnpmSee advisory4.1.3
2 more affected products in the full CVE brief

Patched Releases

@seal-security/swagger-ui

3.17.1-sp999

jellyfin

10.9.2-r1

org.webjars:swagger-ui

4.1.3

Swagger Ui

4.1.3, 2.2.10-tuxcare.1, 3.17.1-sp999

swagger-ui-dist

4.1.3

swagger-ui-react

4.1.3

Swashbuckle.AspNetCore.SwaggerUI

6.3.0

Timeline

  1. Publicly disclosed

    Mar 12, 2022

  2. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-918 Server-Side Request Forgery
  • CWE-922 Insecure Storage of Sensitive Information

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2018-25031 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.