{"id":"CVE-2021-3377","aliases":["GHSA-2v5f-23xc-v9qr"],"url":"https://o3.security/vulnerability/CVE-2021-3377","summary":"ansi_up cross-site scripting vulnerability","details":"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.","published":"2021-03-05T21:15:13.263Z","modified":"2026-07-09T00:36:35.484525Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"ansi_up","fixedVersion":"5.0.0"}],"fix":{"url":"https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27","label":"drudru/ansi_up@c8c726e"},"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241108-0002/"},{"type":"FIX","url":"https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27"},{"type":"EVIDENCE","url":"https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T00:36:35.484525Z"}}