CVE-2022-29230: Potential cross-site scripting (XSS) vulnerability in Hydrogen
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2022-29230?
CVE-2022-29230 has been classified as a moderate severity vulnerability due to its potential to facilitate cross-site scripting attacks.
How do I fix CVE-2022-29230?
To fix CVE-2022-29230, update Shopify Hydrogen to version 0.19.0 or later to mitigate the XSS vulnerability.
Who is affected by CVE-2022-29230?
CVE-2022-29230 affects users of Shopify Hydrogen framework versions between 0.10.0 and 0.19.0.
What type of vulnerability is CVE-2022-29230?
CVE-2022-29230 is a cross-site scripting (XSS) vulnerability that allows arbitrary script execution.
Can CVE-2022-29230 be exploited remotely?
Yes, CVE-2022-29230 can be exploited remotely by attackers capable of delivering malicious scripts to affected Hydrogen-powered storefronts.