CVE-2022-29230
Potential cross-site scripting (XSS) vulnerability in Hydrogen
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Hydrogen es un marco de trabajo basado en React para la construcción de escaparates personalizados dinámicos impulsados por Shopify. Se presenta una potencial vulnerabilidad de tipo Cross-Site Scripting (XSS) donde un usuario arbitrario es capaz de ejecutar scripts en páginas que son construidas con Hydrogen. Esto afecta a todas las versiones de Hydrogen desde versión 0.10.0 hasta 0.18.0. Esta vulnerabilidad es explotable en aplicaciones cuyos datos de hidratación son controlados por el usuario. Todos los usuarios de Hydrogen deberían actualizar sus proyectos a versión 0.19.0. No se presenta una medida de mitigación actual, y los usuarios deberían actualizar lo antes posible. Además, la Política de Seguridad de Contenidos no es una mitigación efectiva para esta vulnerabilidad
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2022-04-13 CVE Reserved
- 2022-05-18 CVE Published
- 2025-04-23 CVE Updated
- 2025-07-12 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/Shopify/hydrogen/pull/1272 | 2022-06-01 | |
https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0 | 2022-06-01 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Shopify Search vendor "Shopify" | Hydrogen Search vendor "Shopify" for product "Hydrogen" | >= 0.10.0 < 0.19.0 Search vendor "Shopify" for product "Hydrogen" and version " >= 0.10.0 < 0.19.0" | node.js |
Affected
|