All reports
Medium

ansi_up cross-site scripting vulnerability

Affected versions

Affected versions
< 5.0.0
Fixed version
5.0.0
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-3377

Probability of exploitation in the next 30 days: 7.63%

FIRST EPSS · 2026-11-19

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.

Links