Skip to main content
← All vulnerabilities
CVE-2022-29230GHSA-6J22-WV8G-894F

Potential cross-site scripting (XSS) vulnerability in Hydrogen

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.19.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Hydrogen is a React-based framework for building dynamic, Shopify-powered custom storefronts. 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. All Hydrogen users should upgrade their project to version 0.19.0. 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Shopify hydrogen

    From 0.10.0 · through 0.18.0

  • @shopify/hydrogennpm

    From 0.10.0 · fixed in 0.19.0

References 3

GitHub · Shopify/hydrogen