CVE-2022-29230

MEDIUM
Published May 18, 20224y ago · Modified Jun 17, 20261w ago
5.4 CVSS 3.1
Medium
Find Similar
Published May 18, 2022 4y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.4
Exploitability
2.3
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
shopifyhydrogen*≥0.10.0  –  <0.19.0

References 3

  • github.com https://github.com/Shopify/hydrogen/pull/1272
    Issue TrackingPatchThird Party Advisory
  • github.com https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0
    PatchThird Party Advisory
  • github.com https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f
    Third Party Advisory

Remediation

  • github.com https://github.com/Shopify/hydrogen/pull/1272
    Issue TrackingPatchThird Party Advisory
  • github.com https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0
    PatchThird Party Advisory