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: abarbaro, adupliak, alcohan, alizardo, anjoseph, anujha, aruklets, aschwart, asoldano, aszczucz, bbaranow, bdettelb, bmaxwell, boliveir, brian.stansberry, brking, bstansbe, caswilli, chazlett, darran.lofthouse, dbosanac, dkreling, dlofthou, doconnor, dosoudil, drichtar, drosa, dschmidt, erezende, gmalinko, gparvin, haoli, hkataria, istudens, ivassile, iweiss, janstey, jbalunas, jcammara, jchui, jhe, jkoops, jlanda, jmitchel, jneedle, jprabhak, jreimann, jwendell, jwong, kaycoth, kbempah, kshier, ktsao, lbainbri, lchilton, mabashia, mdessi, mnovotny, mosmerov, mposolda, mrizzi, msochure, msvehla, mwringe, nboldt, njean, nwallace, oaljalju, omaciel, owatkins, pahickey, pberan, pbizzarr, pbraun, pcattana, pdelbell, pdrozd, peholase, pesilva, pjindal, pmackay, pskopek, psrna, rcernich, rguimara, rhaigner, rhel-process-autobot, rjohnson, rmartinc, rowaters, rstancel, rstepani, rtaniwa, saroy, sausingh, sfeifer, simaishi, smaestri, smcdonal, solenoci, ssilvert, stcannon, sthorger, teagle, tfister, thavo, thjenkin, tkral, tom.jenkinson, twalsh, vdosoudi, vmuzikar, watson-tool-maintainers, 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.