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
Link | Resource |
---|---|
https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf | Exploit Third Party Advisory |
https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27 | Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-03-05T19:03:58
Updated: 2021-03-05T19:03:58
Reserved: 2021-02-01T00:00:00
Link: CVE-2021-3377
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-03-05T21:15:13.263
Modified: 2021-03-09T15:46:50.940
Link: CVE-2021-3377
JSON object: View
Redhat Information
No data.
CWE