GHSA-gh4g-3gm9-5wrq

    Dashboard / Vulnerabilities / GHSA-gh4g-3gm9-5wrq

    GHSA-gh4g-3gm9-5wrq

    Published: 29 May 2019Last Modified: 8 Nov 2023

    Summary: Cross-Site Scripting in shave

    Details: Versions of `shave` prior to 2.5.3 are vulnerable to Cross-Site Scripting. The `shave` package overwrites HTML elements and in doing so fails to properly encode the output. If encoded HTML input is passed into `shave` the output will be decoded which may lead to Cross-Site Scripting. ## Recommendation Upgrade to version 2.5.3 or later.

    Affected packages

    Package

    Name: shave

    Purl: pkg:npm/shave

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.5.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