Advisory

GHSA-388g-jwpg-x6j4

Also known as: None

Summary

Cross-Site Scripting in swagger-ui

Details

Versions of swagger-ui prior to 3.0.13 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize YAML files imported from URLs or copied-pasted. This may allow attackers to execute arbitrary JavaScript.

Recommendation

Upgrade to version 3.0.13 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-11 21:20 UTC
Modified
2021-09-28 17:00 UTC

Affected packages and fixes

swagger-ui

npm · All systems

Affected

  • introduced 0, fixed 3.0.13 (semver)

Fixed versions

3.0.13

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences