CVE-2022-29230 Potential cross-site scripting (XSS) vulnerability in Hydrogen
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| shopify @shopify/hydrogen | = >= 0.10.0, <= 0.18.0; >= 0.10.0, < 0.19.0 | 0.19.0 | Fixed |
| shopify @shopify/hydrogen(npm) | >= 0.10.0, < 0.19.0 | 0.19.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| shopify @shopify/hydrogen(npm) | >= 0.10.0, < 0.19.0 | 0.19.0 |
| shopify @shopify/hydrogen | = >= 0.10.0, <= 0.18.0 | No fix listed |
| shopify @shopify/hydrogen | >= 0.10.0, < 0.19.0 | 0.19.0 |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- github.com
- github.com product