UBUNTU-CVE-2024-21501

    Dashboard / Vulnerabilities / UBUNTU-CVE-2024-21501

    UBUNTU-CVE-2024-21501

    Published: 24 Feb 2024Last Modified: 20 May 2026
    Upstream:

    Summary:

    Details: Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.

    Affected packages

    Package

    Name: node-sanitize-html

    Purl: pkg:deb/ubuntu/node-sanitize-html?arch=source&distro=jammy

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    2.6.1-1

    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
    UBUNTU-CVE-2024-21501 | CVE-DB