CVE-2024-47068 | DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS

Exp

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.

Published: 2024-09-23 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-47068 is rated Exploit Available (54.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.71%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-47068

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-47068

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.79% 0.71% -2.07%
2 2026-06-05 2.91% 2.79% -0.13%
3 2026-05-23 2.91%

Full EPSS history (26 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-47068

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2024-47068

GitHub Security Advisory for CVE-2024-47068

GHSA-gcx4-mw62-g8wm · Severity: high · Ecosystem: npm — DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS

OS Trackers for CVE-2024-47068

vendor priority summary link
debian not yet assigned CVE-2024-47068 not yet assigned priority: Debian including 1 source packages (node-rollup), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-47068
redhat medium https://access.redhat.com/security/cve/CVE-2024-47068
ubuntu medium CVE-2024-47068 medium priority: Ubuntu including 1 source packages (node-rollup), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 5, ignored 2. https://ubuntu.com/security/CVE-2024-47068

Affected software / configurations for CVE-2024-47068

Vendor Product Version Raw CPE
rollupjs rollup >= 0.59.0, < 2.79.2 cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*
rollupjs rollup >= 3.0.0, < 3.29.5 cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*
rollupjs rollup >= 4.0.0, < 4.22.4 cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*

References for CVE-2024-47068

cvelogic Threat Intelligence