CVE-2024-47068CWE-79

DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS

Medium · published September 23, 2024

CVSS v3.1
6.1
EPSS
1%
Percentile
54.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00742 · 54.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-09-23T15:26Z
EPSS history
Timeline
  • 23 SEP 15:26Z
    DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS
    cvelistv5