Vulnerabilities/

Cross-Site Scripting in swagger-ui (GHSA-4f9m-pxwh-68hg)

Severity:
Medium

Description

Versions of swagger-ui prior to 3.20.9 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize URLs used in the OAuth auth flow, which may allow attackers to execute arbitrary JavaScript.

Recommendation

Update the swagger-ui package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
swagger-ui
Anything's wrong? Let us know Last updated on October 02, 2023

This issue is available in SmartScanner Professional

See Pricing