Bug 2088242 (CVE-2022-29230)

Summary: CVE-2022-29230 hydrogen: a potential Cross-Site Scripting (XSS) vulnerability found in hydrogen
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brendan.jones.it, green, guido.aulisi, nphilipp
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-19 08:39:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2088243    
Bug Blocks:    

Description Sandipan Roy 2022-05-19 04:25:16 UTC
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.

https://github.com/Shopify/hydrogen/pull/1272
https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f
https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0

Comment 1 Sandipan Roy 2022-05-19 04:25:35 UTC
Created hydrogen tracking bugs for this issue:

Affects: fedora-all [bug 2088243]

Comment 2 Guido Aulisi 2022-05-19 05:46:03 UTC
Package Hydrogen in Fedora is an advanced drum machine for GNU/Linux. It's main goal is to bring professional yet simple and intuitive pattern-based drum programming.

There are no XSS in a virtual drum machine

Comment 3 Product Security DevOps Team 2022-05-19 08:39:42 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.