GHSA-6j22-wv8g-894f

    Dashboard / Vulnerabilities / GHSA-6j22-wv8g-894f

    GHSA-6j22-wv8g-894f

    Published: 19 May 2022Last Modified: 8 Nov 2023

    Summary: Potential Cross-site Scripting vulnerability in Hydrogen

    Details: ### Impact There is a potential Cross-Site Scripting (XSS) vulnerability where an arbitrary user is able to execute scripts on pages that are built with Hydrogen. This affects all versions of Hydrogen starting from version 0.10.0 to 0.18.0. This vulnerability is exploitable in applications whose hydrating data is user controlled. ### Patches All Hydrogen users should upgrade their project to v0.19.0. ### Workarounds There is no current workaround, and users should update as soon as possible. Additionally, the Content Security Policy is not an effective mitigation for this vulnerability. ### References GitHub: [Hydrogen v0.19.0](https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0) Fix PR: https://github.com/Shopify/hydrogen/pull/1272 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Shopify/hydrogen](https://github.com/Shopify/hydrogen/issues/new/choose)

    Affected packages

    Package

    Name: @shopify/hydrogen

    Purl: pkg:npm/%40shopify/hydrogen

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.10.0
    Fixed -0.19.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-6j22-wv8g-894f | CVE-DB