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.
References
Link | Resource |
---|---|
https://github.com/Shopify/hydrogen/pull/1272 | Issue Tracking Patch Third Party Advisory |
https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0 | Patch Third Party Advisory |
https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2022-05-18 21:15
Updated : 2024-02-28 19:09
NVD link : CVE-2022-29230
Mitre link : CVE-2022-29230
CVE.ORG link : CVE-2022-29230
JSON object : View
Products Affected
shopify
- hydrogen
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')