Read the docs
TI-2020-19993 Aliases GHSA-4f9m-pxwh-68hg

Cross-Site Scripting in swagger-ui

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

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 Upgrade to version 3.20.9 or later.

Why it matters now

Fix Fixed swagger-ui (npm): 3.20.9

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—swagger-ui (npm)before 3.20.93.20.9Patch availableGHSA-4f9m-pxwh-68hg
  • swagger-ui (npm) Vendor— Affected before 3.20.9 Fixed in 3.20.9 Patch available GHSA-4f9m-pxwh-68hg

Remediation

  • Fix · GHSA-4f9m-pxwh-68hg swagger-ui (npm) Fixed in 3.20.9 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-4f9m-pxwh-68hg

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences