cve.bz

CVE-2024-47068

6.1 mediumEPSS 0.7%

Medium (6.1) in rollupjs rollup. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in rollup 2.79.2, 3.29.5, 4.22.4.

Rollup is a module bundler for JavaScript. Versions prior to 2.79.2, 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 2.79.2, 3.29.5, and 4.22.4 contain a patch for the vulnerability.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gcx4-mw62-g8wmnpmrollup>=3.0.0 <3.29.53.29.5
GHSA-gcx4-mw62-g8wmnpmrollup>=4.0.0 <4.22.44.22.4
GHSA-gcx4-mw62-g8wmnpmrollup<2.79.22.79.2

References

Check your stackJSON