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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2v5f-23xc-v9qr | ansi_up cross-site scripting vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 03 Nov 2025 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-11-03T21:44:49.008Z
Reserved: 2021-02-01T00:00:00.000Z
Link: CVE-2021-3377
No data.
Status : Modified
Published: 2021-03-05T21:15:13.263
Modified: 2025-11-03T22:15:50.327
Link: CVE-2021-3377
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA