{"id":"CVE-2022-29230","published":"2022-05-18T20:30:13Z","modified":"2025-04-23T18:25:24Z","title":"Potential cross-site scripting (XSS) vulnerability in Hydrogen","vendor":"Shopify","product":"hydrogen","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00832,"percentile":0.5849,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Shopify/hydrogen/pull/1272","tags":["x_refsource_MISC"]},{"url":"https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":11.7},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"shopify","affectedVersions":[{"vendor":"Shopify","product":"hydrogen","versions":[">= 0.10.0, <= 0.18.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:07:28.385212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@shopify/hydrogen","vulnerableRanges":[">=0.10.0, <0.19.0"],"patched":["0.19.0"],"from":["GHSA-6j22-wv8g-894f"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in Shopify's Hydrogen, a React-based framework for building Shopify-powered custom storefronts, allows scripts to be injected into pages built with it. An attacker with low-privileged user access and no required user interaction over the network can execute scripts on those pages, but only in applications whose hydrating data is user-controlled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:01Z"},"euvd":{"id":"EUVD-2022-2805","exploited":false,"provenance":"source"}}