GHSA-2v5f-23xc-v9qrMediumCVSS 6.1

ansi_up cross-site scripting vulnerability

Published
March 11, 2021
Last Modified
November 4, 2025

🔗 CVE IDs covered (1)

📋 Description

The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up 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.

🎯 Affected products1

  • npm/ansi_up:< 5.0.0

🔗 References (5)