CVE-2022-29230: Potential cross-site scripting (XSS) vulnerability in Hydrogen
Vulnerability summary
CVE-2022-29230 is a medium (CVSS 6.3) vulnerability in shopify hydrogen. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.8% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
@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