Skip to main content
Public proof of conceptFix available

CVE-2024-47068

A public proof of concept exists; no exploitation attested.

  • Published2024-09-23
  • Fixed in4.22.4 · 3.29.5 · 2.79.2
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-09-2316:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-47068?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-47068?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV · CISA-ADP
Rollupjs rollup
BranchAffectedFixed in
4.x≥ 4.0.0, < 4.22.44.22.4
3.x≥ 3.0.0, < 3.29.53.29.5
2.79≥ 0.59.0, < 2.79.22.79.2
2.79< 2.79.22.79.2
Rollup
BranchAffectedFixed in
4.x≥ 4.0.0, < 4.22.44.22.4
3.29< 3.29.53.29.5

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2024-47068 Red Hat Product Security9 products fixed · 6 known affected

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

    mta/mta-ui-rhel9 as a component of Migration Toolkit for Applications 7 · rollup.src as a component of Migration Toolkit for Runtimes · migration-toolkit-virtualization/mtv-console-plugin-rhel9 as a component of Migration Toolkit for Virtualization · +3 more

  • RHSA-2025:3374 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.5.1 release.

  • RHSA-2024:10962 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift distributed tracing platform (Jaeger) 3.4 release

  • RHSA-2024:10917 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift distributed tracing platform (Jaeger) 3.4 release

Full record on NVD

Fix

  1. Update Rollupjs rollup to 4.22.4 · 3.29.5 · 2.79.2
  2. Vendor fix Red Hat Product Security RHSA-2025:3374 · 1 productFor more about Red Hat Developer Hub, see References links
  3. Vendor fix Red Hat Product Security RHSA-2024:10962 · 4 productsFor details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/h tml/operators/administrator-tasks#olm-upgrading-operators
  4. Workaround from the vendor Red Hat Product Security RHSA-2025:3374 · 3 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  5. No fix available, says the vendor Red Hat Product Security CVE-2024-47068 · 2 productsFix deferred
  6. No fix available, says the vendor Red Hat Product Security CVE-2024-47068 · 3 productsAffected
  7. No fix planned, says the vendor Red Hat Product Security CVE-2024-47068 · 1 productWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionpoc2024-09-23
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.16.1read 2026-10-23
  • NVDCVSS 3.16.1read 2026-10-23
  • CNAweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2024-09-23
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2024-47068?

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.

Is CVE-2024-47068 actively exploited?

A proof-of-concept exploit exists for CVE-2024-47068, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-47068?

CVE-2024-47068 has a CVSS v3 base score of 6.1 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Running rollup? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month