Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-47068: Rollup is a module bundler for JavaScript

40
This month
MEDIUM 6.1UPGRADE

CVE-2024-47068 is a medium-severity flaw (CVSS 6.1) affecting rollup. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.7% (top 45%)
CISA exploited listNo
WeaknessCWE-79
Published2024-09-23
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: rollupjs

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

rollupjs rollup UPGRADE
Affected: >= 0.59.0 and < 2.79.2 · >= 3.0.0 and < 3.29.5 · >= 4.0.0 and < 4.22.4
Fixed in: 2.79.2, 3.29.5, 4.22.4
Safe to downgrade to: a release before 0.59.0
1. Check installed version
npm ls rollup
2. UPGRADE to 2.79.2
npm install rollup@">=2.79.2"
3. If no update is available yet, DOWNGRADE to a release before 0.59.0
npm view rollup versions npm install rollup@"<0.59.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-47068?

rollup: upgrade to 2.79.2, 3.29.5, 4.22.4. Exact commands for each OS are on this page.

Is CVE-2024-47068 being exploited?

CVE-2024-47068 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-47068 affect?

CVE-2024-47068 affects rollup. Severity is medium (CVSS 6.1). 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`/`iif

How urgent is CVE-2024-47068?

Priority 40/100. Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.