Skip to content

Spoofing attack in swagger-ui

Moderate severity GitHub Reviewed Published Mar 12, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

npm swagger-ui (npm)

Affected versions

< 4.1.3

Patched versions

4.1.3

Description

Swagger UI before 4.1.3 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.

References

Published by the National Vulnerability Database Mar 11, 2022
Published to the GitHub Advisory Database Mar 12, 2022
Reviewed Mar 14, 2022
Last updated Jan 27, 2023

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2018-25031

GHSA ID

GHSA-cr3q-pqgq-m8c2
Checking history
See something to contribute? Suggest improvements for this vulnerability.