CVE-2022-29230: shopify hydrogen Cross-site Scripting
Vulnerability summary
CVE-2022-29230 is a medium (CVSS 6.3) Cross-site Scripting vulnerability in shopify hydrogen. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 56.9% of scored vulnerabilities.
Timeline
- 18-05-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
+0.01 pp
From 0.82% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@shopify1 product
- hydrogen≥ 0.10.0, < 0.19.0
Shopify1 product
- hydrogen≥ 0.10.0, ≤ 0.18.0 | ≥ 0.10.0, < 0.19.0
2 vendors · 2 products
References
5 links- github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894fX Refsource CONFIRMWEBThird Party Advisory
- github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0X Refsource MISCWEBPatchThird Party Advisory
- github.com/Shopify/hydrogenPACKAGE