{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3377","published":"2021-03-05T21:15:13.263000Z","last_modified":"2026-06-17T04:05:00.207000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:ansi_up_project:ansi_up:*:*:*:*:*:node.js:*:*","part":"a","vendor":"ansi_up_project","product":"ansi_up","version_end_excluding":"5.0.0"}],"cpes_truncated":false,"vendors":["ansi_up_project"],"products":["ansi_up_project/ansi_up"],"epss":{"score":0.07633,"percentile":0.95341,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2v5f-23xc-v9qr","ecosystem":"npm","name":"ansi_up","purl":"pkg:npm/ansi_up","ranges":[{"introduced":"0","fixed":"5.0.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-3377/","html_en":"/en/cve/CVE-2021-3377/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3377","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3377"},"untrusted":{"vendor_name":"Ansi Up Project","product_name":"Ansi Up","desc_en":"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.","affected":[],"references":[{"url":"https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27","tags":["Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","tags":[]}]}}