{"cve":"CVE-2021-3377","nvd":{"published":"2021-03-05T21:15:13.263","modified":"2026-06-17T04:05:00.207","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf","https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27","https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf","https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27","https://security.netapp.com/advisory/ntap-20241108-0002/"],"products":["ansi_up_project:ansi_up"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-3377","score":0.08,"percentile":0.94764,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2v5f-23xc-v9qr","url":"https://osv.dev/vulnerability/GHSA-2v5f-23xc-v9qr","summary":"ansi_up cross-site scripting vulnerability","modified":"2025-11-04T16:33:40Z","packages":[{"ecosystem":"npm","name":"ansi_up","purl":"pkg:npm/ansi_up","ranges":["<5.0.0"],"fixed":["5.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}