GHSA-2v5f-23xc-v9qr

    Dashboard / Vulnerabilities / GHSA-2v5f-23xc-v9qr

    GHSA-2v5f-23xc-v9qr

    Published: 11 Mar 2021Last Modified: 4 Nov 2025
    Aliases:

    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.

    Affected packages

    Package

    Name: ansi_up

    Purl: pkg:npm/ansi_up

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -5.0.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-2v5f-23xc-v9qr | CVE-DB