CVE-2021-3377

MEDIUM NUCLEI

ansi_up < 5.0.0 - Cross-Site Scripting via ANSI Escape Code URL Handling

Title source: llm
STIX 2.1

Exploitation 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

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