CVE-2021-3377

nodejs-ansi_up: XSS due to insufficient URL sanitization

Published Mar 5, 2021 CVSS 3.1 · 6.1 Medium EPSS 7.6% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2v5f-23xc-v9qr ansi_up cross-site scripting vulnerability
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 3, 2025, 9:44 PM
Reserved
Feb 1, 2021, 12:00 AM
Status
Modified
Published
Mar 5, 2021, 9:15 PM
Modified
Jun 17, 2026, 4:05 AM
Severity
Moderate
Public date
Jan 29, 2021, 12:00 AM