cve.bz

CVE-2021-3377

6.1 mediumEPSS 8.0%

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)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2v5f-23xc-v9qrnpmansi_up<5.0.05.0.0

References

Check your stackJSON