CVE-2021-3377
MEDIUM NUCLEIansi_up < 5.0.0 - Cross-Site Scripting via ANSI Escape Code URL Handling
Title source: llmExploitation Summary
CVE-2021-3377 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.
Description
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.
Nuclei Templates (1)
npm ansi_up v4 - Cross-Site Scripting
MEDIUMby geeknik
References (3)
Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf
Patch, Third Party Advisory x_refsource_misc
https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27
Vendor Advisory
https://security.netapp.com/advisory/ntap-20241108-0002/
Scores
CVSS v3
6.1
EPSS
0.0800
EPSS Percentile
94.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (2)
ansi_up_project/ansi_up
< 5.0.0
npm/ansi_up
0 - 5.0.0npm
Published
Mar 05, 2021
Tracked Since
Feb 18, 2026