Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJ2NWYtMjN4Yy12OXFy
ansi_up cross-site scripting vulnerability
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.
Permalink: https://github.com/advisories/GHSA-2v5f-23xc-v9qrJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJ2NWYtMjN4Yy12OXFy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-2v5f-23xc-v9qr, CVE-2021-3377
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-3377
- https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27
- https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf
- https://github.com/advisories/GHSA-2v5f-23xc-v9qr
Blast Radius: 19.9
Affected Packages
npm:ansi_up
Dependent packages: 162Dependent repositories: 1,808
Downloads: 261,725 last month
Affected Version Ranges: < 5.0.0
Fixed in: 5.0.0
All affected versions: 1.0.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.3.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 3.0.0, 4.0.2, 4.0.3, 4.0.4
All unaffected versions: 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 6.0.0, 6.0.1, 6.0.2