GHSA-cgfm-xwp7-2cvr

    Dashboard / Vulnerabilities / GHSA-cgfm-xwp7-2cvr

    GHSA-cgfm-xwp7-2cvr

    Published: 31 Aug 2022Last Modified: 22 Apr 2024

    Summary: Sanitize-html Vulnerable To REDoS Attacks

    Details: The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.

    Affected packages

    Package

    Name: sanitize-html

    Purl: pkg:npm/sanitize-html

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.7.1

    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-cgfm-xwp7-2cvr | CVE-DB