Medium (6.1) in ansi up project ansi up. EPSS 8.0% chance of exploitation in the next 30 days. Fixed in ansi_up 5.0.0.
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.
Severity
CVSS 3.1
6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
8.0% chance of exploitation in the next 30 days; higher than 94% of CVEs (scores of 2026-10-31)