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.
Published: 2021-03-05
Score: 6.1 Medium
EPSS: 36.9% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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
History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Subscriptions

Ansi Up Project Ansi Up
Redhat Acm
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-03T21:44:49.008Z

Reserved: 2021-02-01T00:00:00.000Z

Link: CVE-2021-3377

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-05T21:15:13.263

Modified: 2025-11-03T22:15:50.327

Link: CVE-2021-3377

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-29T00:00:00Z

Links: CVE-2021-3377 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses