Read the docs
TI-2020-19425 Aliases GHSA-g336-c7wv-8hp3

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

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.

Why it matters now

Fix Fixed swagger-ui (npm): 2.2.1

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
—swagger-ui (npm)before 2.2.12.2.1Patch availableGHSA-g336-c7wv-8hp3
  • swagger-ui (npm) Vendor— Affected before 2.2.1 Fixed in 2.2.1 Patch available GHSA-g336-c7wv-8hp3

Remediation

  • Fix · GHSA-g336-c7wv-8hp3 swagger-ui (npm) Fixed in 2.2.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-g336-c7wv-8hp3

References

Sources

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