GHSA-hfj4-96f7-6r5g

    Dashboard / Vulnerabilities / GHSA-hfj4-96f7-6r5g

    GHSA-hfj4-96f7-6r5g

    Published: 9 Nov 2018Last Modified: 8 Nov 2023
    Aliases:

    Summary: Cross-Site Scripting in html-janitor

    Details: Versions of `html-janitor` prior to 2.0.2 (all current versions) are vulnerable to cross-site scripting (XSS). This is exploitable if user-controlled data is passed into the modules `clean()` function. ## Recommendation No fix is currently available for this vulnerability. It is recommended to use an alternative module for HTML sanitization.

    Affected packages

    Package

    Name: html-janitor

    Purl: pkg:npm/html-janitor

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.0.3

    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