GHSA-2v5f-23xc-v9qr
Dashboard / Vulnerabilities / GHSA-2v5f-23xc-v9qr
Summary: ansi_up cross-site scripting vulnerability
Details: 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.
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://security.netapp.com/advisory/ntap-20241108-0002
Affected packages
Package
Name: ansi_up
Purl: pkg:npm/ansi_up
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -5.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
