# CVE-2022-29230: Potential cross-site scripting (XSS) vulnerability in Hydrogen

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-18 · Modified: 2025-04-23
- Aliases: GHSA-6j22-wv8g-894f
- Record: https://cvemate.com/vulnerability/CVE-2022-29230 · JSON: https://cvemate.com/vulnerability/CVE-2022-29230/json

## 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.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.832%, percentile 58.876%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- @shopify hydrogen (Npm): ≥ 0.10.0, \< 0.19.0
- shopify hydrogen: ≥ 0.10.0, ≤ 0.18.0 \| ≥ 0.10.0, \< 0.19.0

## References

- <https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f>
- <https://github.com/Shopify/hydrogen/pull/1272>
- <https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29230>
- <https://github.com/Shopify/hydrogen>

---

Data as of 2026-12-05T05:10:37.522Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
