CVE-2022-29230 json
Potential cross-site scripting (XSS) vulnerability in Hydrogen
published 2022-05-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-6j22-wv8g-894f , EUVD-2022-2805
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
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.
Patch / fix
- npm @shopify/hydrogen 0.19.0
- shopify hydrogen 0.19.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-29230 updated
hydrogen: a potential Cross-Site Scripting (XSS) vulnerability found in hydrogen
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @shopify/hydrogen | >=0.10.0, <0.19.0 |
0.19.0 |
Affected products
- Shopify hydrogen
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/Shopify/hydrogen/pull/1272
web, issue-tracking, patch, third-party-advisory
-
github.com
/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0
web, patch, third-party-advisory
-
github.com
/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29230
advisory
-
github.com
/Shopify/hydrogen
package
Sources
- CVE List CVE-2022-29230
- GitHub Advisory GHSA-6j22-wv8g-894f
- NVD CVE-2022-29230
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.