Skip to content

Cross-Site Scripting in swagger-ui

Critical severity GitHub Reviewed Published Sep 1, 2020 to the GitHub Advisory Database • Updated Apr 3, 2023

Package

npm swagger-ui (npm)

Affected versions

< 2.2.1

Patched versions

2.2.1

Description

Affected versions of swagger-ui are vulnerable to cross-site scripting via the url query string parameter.

Recommendation

Update to 2.2.1 or later.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 1, 2020
Last updated Apr 3, 2023

Severity

Critical

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-g336-c7wv-8hp3

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.