Medium, CVSS 6.1npmAmendedPublished
ansi_up cross-site scripting vulnerability
CVE-2021-3377 · GHSA-2v5f-23xc-v9qr
- Affected
- npm ansi_up < 5.0.0
- Fixed in
- 5.0.0· Vendor fix available
- Issue
- The npm package ansiup converts ANSI escape codes into HTML. In ansiup v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.
Recommended action: Upgrade to 5.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.