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 |
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 |
Configurations
History
21 Nov 2024, 06:21
Type | Values Removed | Values Added |
---|---|---|
References | () https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf - Exploit, Third Party Advisory | |
References | () https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27 - Patch, Third Party Advisory |
Information
Published : 2021-03-05 21:15
Updated : 2024-11-21 06:21
NVD link : CVE-2021-3377
Mitre link : CVE-2021-3377
CVE.ORG link : CVE-2021-3377
JSON object : View
Products Affected
ansi_up_project
- ansi_up
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')