Security mailing lists by PureSourceCode

CVE-2018-25031

MEDIUM 4.3CVSS 3.1

Spoofing attack in swagger-ui

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
11 Mar 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20CWE-918CWE-922
Also known as
GHSA-cr3q-pqgq-m8c2
Sources
NVDJSONOSV GHSA-cr3q-pqgq-m8c2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD smartbear swagger_ui
cpe:2.3:a:smartbear:swagger_ui:*:*:*:*:*:*:*:*
< 4.1.3 4.1.3
OSV npm swagger-ui < 4.1.3 4.1.3
OSV Maven org.webjars:swagger-ui < 4.1.3 4.1.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Mar 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.