Bug 2314249 (CVE-2024-47068)

Summary: CVE-2024-47068 rollup: DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, adupliak, anjoseph, asoldano, bbaranow, bdettelb, bmaxwell, boliveir, brian.stansberry, brking, caswilli, cdewolf, chazlett, darran.lofthouse, dbosanac, dkreling, doconnor, dosoudil, drichtar, fjuma, gmalinko, gparvin, haoli, hkataria, istudens, ivassile, iweiss, janstey, jcammara, jchui, jkoops, jmitchel, jneedle, jprabhak, jreimann, jwendell, jwong, kaycoth, kshier, ktsao, lbainbri, lchilton, lgao, mabashia, mdessi, mnovotny, mosmerov, mrizzi, msochure, msvehla, mwringe, nboldt, njean, nwallace, omaciel, owatkins, pahickey, pbraun, pcattana, pdelbell, pdrozd, peholase, pjindal, pmackay, pskopek, rcernich, rguimara, rhaigner, rjohnson, rmartinc, rowaters, rstancel, rstepani, rtaniwa, saroy, sfeifer, simaishi, smaestri, smcdonal, stcannon, sthorger, teagle, tfister, thavo, tkral, tom.jenkinson, twalsh, wtam, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Rollup module bundler for JavaScript. Certain versions are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from `import.meta` such as `import.meta.url` in the `cjs`/`umd`/`iife` format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements are present, for example, an `img` tag with an unsanitized `name` attribute.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2314279, 2314280, 2314281, 2314282    
Bug Blocks:    

Description OSIDB Bzimport 2024-09-23 16:20:43 UTC
Rollup is a module bundler for JavaScript. Versions prior to 3.29.5 and 4.22.4 are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from `import.meta` (e.g., `import.meta.url`) in `cjs`/`umd`/`iife` format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an `img` tag with an unsanitized `name` attribute) are present. Versions 3.29.5 and 4.22.4  contain a patch for the vulnerability.