CVE-2021-3377

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
05/03/2021
Last modified:
03/11/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ansi_up_project:ansi_up:*:*:*:*:*:node.js:*:* 5.0.0 (excluding)