CVE-2024-47068
DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.742% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.1 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:57:18.760Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:18.760Z | CVE Program |
| epss | verified | 2026-11-19T16:04:39.116Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.081Z | OSV |
| affected | verified | 2026-11-19T12:57:18.760Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:18.760Z | CVE Program |
Affected versions and configuration
rollup rollup; default status: unknown: >= 3.0.0, < 3.29.5 [affected; scheme: unspecified]; >= 4.0.0, < 4.22.4 [affected; scheme: unspecified]; < 2.79.2 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "rollup",
"product": "rollup",
"versions": [
{
"status": "affected",
"version": ">= 3.0.0, < 3.29.5"
},
{
"status": "affected",
"version": ">= 4.0.0, < 4.22.4"
},
{
"status": "affected",
"version": "< 2.79.2"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-47068",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-09-23T15:47:09.301929Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:rollup:rollup:*:*:*:*:*:*:*:*"
],
"vendor": "rollup",
"product": "rollup",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.29.5",
"versionType": "custom"
},
{
"status": "affected",
"version": "4.0.0",
"lessThan": "4.22.4",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-23T15:53:25.040Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gcx4-mw62-g8wm",
"aliases": [
"CVE-2024-47068"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.29.5"
}
]
}
],
"package": {
"name": "rollup",
"purl": "pkg:npm/rollup",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-gcx4-mw62-g8wm/GHSA-gcx4-mw62-g8wm.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.22.4"
}
]
}
],
"package": {
"name": "rollup",
"purl": "pkg:npm/rollup",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-gcx4-mw62-g8wm/GHSA-gcx4-mw62-g8wm.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.79.2"
}
]
}
],
"package": {
"name": "rollup",
"purl": "pkg:npm/rollup",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-gcx4-mw62-g8wm/GHSA-gcx4-mw62-g8wm.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-47068",
"type": "ADVISORY"
},
{
"url": "https://github.com/rollup/rollup/commit/2ef77c00ec2635d42697cff2c0567ccc8db34fb4",
"type": "WEB"
},
{
"url": "https://github.com/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541",
"type": "WEB"
},
{
"url": "https://github.com/rollup/rollup",
"type": "PACKAGE"
},
{
"url": "https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L157-L162",
"type": "WEB"
},
{
"url": "https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L180-L185",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-09-23T16:15:06Z",
"github_reviewed_at": "2024-09-23T22:11:02Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | rollup | Not a distribution channel | 3.29.5 | Official record |
| ecosystem-boundary | npm / package | rollup | Not a distribution channel | 4.22.4 | Official record |
| ecosystem-boundary | npm / package | rollup | Not a distribution channel | 2.79.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:30.081ZArchived source JSON
Source publication: 2024-09-23T22:11:02.000Z
Source modification: 2026-09-10T03:50:18.179ZDocument fingerprint
f145c9072cf951eb0f6317e4609625098bf201f636087981586f9b638920cdd3 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:18.760ZArchived source JSON
Source publication: 2024-09-23T15:26:09.313Z
Source modification: 2024-10-29T15:16:32.075ZDocument fingerprint
0519ef3c541cc232e3fbf38ca4d2b3225df31042ba5823094a0fa08b18fccc93 - FIRST EPSSConsulted: 2026-11-19T16:04:39.116ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
9f0dcd79a206c1e9df7af3ccc3246b94763cde2daafc074aaa6c06dadb41d7a7
Official status history
- UNKNOWN → PUBLISHED · · evidence