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

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-05-18T20:30:13.000Z
- Modified: 2026-06-17T04:39:52.793Z
- Also known as: GHSA-6j22-wv8g-894f
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Shopify hydrogen: >= 0.10.0, <= 0.18.0; from 0.10.0 before 0.19.0
- @shopify/hydrogen (npm): from 0.10.0 before 0.19.0

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f> (third-party-advisory, web)
- <https://github.com/Shopify/hydrogen/pull/1272> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29230> (advisory)
- <https://github.com/Shopify/hydrogen> (package)

## Sources

- CVE List: [CVE-2022-29230](https://www.cve.org/CVERecord?id=CVE-2022-29230), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-6j22-wv8g-894f](https://github.com/advisories/GHSA-6j22-wv8g-894f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-29230](https://nvd.nist.gov/vuln/detail/CVE-2022-29230), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29230 · Whole record: https://cve.day/CVE-2022-29230.json · Rebuilt by cve.day 2026-11-25T22:58:11.809Z
