CVE-2024-47068 json
DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS
published 2y ago modified 2mo ago also EUVD-2024-2800 , GHSA-gcx4-mw62-g8wm
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm rollup 2.79.2, 3.29.5, 4.22.4
- rollup rollup 3.29.5, 4.22.4
- node-rollup Debian 14, Debian 13 3.29.5-1
debian advisories DEBIAN-CVE-2024-47068
- velociraptor openSUSE Tumbleweed 0.7.0.4.git142.862ef23-1.1
opensuse advisories openSUSE-SU-2025:14663-1
Is CVE-2024-47068 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-47068 updated cvss 6.4
rollup: DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS
-
Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Migration Toolkit for Runtimes rollupaffected: workaround, no fix planned “Will not fix”
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Network Observability Operator network-observability/network-observability-console-plugin-rhel9 Red Hat Ansible Automation Platform 2 automation-controller Red Hat OpenShift distributed tracing 3 rhosdt/tempo-jaeger-query-rhel8affected: workaround, no fix available
-
Red Hat Developer Hub 1.5 rhdhfixed: vendor fix RHSA-2025:3374
-
Red Hat OpenShift distributed tracing 3.4 rhosdtfixed: vendor fix RHSA-2024:10917
-
Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9 Red Hat Multicluster Engine for Kubernetes multicluster-engine/multicluster-engine-console-mce-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-v4-rhel8, advanced-cluster-security/rhacs-scanner-v4-db-rhel8not affected: vulnerable code not present
+17 more productsfewer
Red Hat Ansible Automation Platform 2 aap-cloud-ui-container, automation-eda-controller, ansible-automation-platform-25/lightspeed-rhel8 Red Hat Build of Keycloak rollup Red Hat build of OptaPlanner 8 rollup Red Hat Developer Hub 1 rhdh-operator-container Red Hat Developer Hub 1.5 rhdh Red Hat Enterprise Linux 8 pcs, grafana, pcs-snmp, grafana-loki, grafana-mssql, grafana-mysql, +10 more Red Hat Enterprise Linux 9 pcs, grafana, pcs-snmp, grafana-selinux Red Hat Enterprise Linux 10 grafana Red Hat Fuse 7 rollup Red Hat JBoss Data Grid 7 rollup Red Hat JBoss Enterprise Application Platform 8 rollup Red Hat OpenShift distributed tracing 3 rhosdt/jaeger-agent-rhel8, rhosdt/jaeger-ingester-rhel8, rhosdt/jaeger-collector-rhel8, rhosdt/jaeger-es-rollover-rhel8, rhosdt/jaeger-es-index-cleaner-rhel8 Red Hat OpenShift distributed tracing 3.4 rhosdt Red Hat OpenShift GitOps openshift-gitops-1/argo-rollouts-rhel8 Red Hat Quay 3 quay/quay-rhel8 Red Hat Single Sign-On 7 rollup Red Hat Trusted Profile Analyzer rhtpa-trustification-service-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | rollup | >=3.0.0, <3.29.5 >=4.0.0, <4.22.4 <2.79.2 |
3.29.5 4.22.4 2.79.2 |
Affected products
- rollup rollup
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/rollup/rollup/commit/2ef77c00ec2635d42697cff2c0567ccc8db34fb4
web, patch
-
github.com
/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541
web, patch
-
github.com
/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm
web, exploit, vendor-advisory, advisory
-
github.com
/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L157-L162
web, product
-
github.com
/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L180-L185
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-47068
advisory
-
github.com
/rollup/rollup
package
Sources
- CVE List CVE-2024-47068
- GitHub Advisory GHSA-gcx4-mw62-g8wm
- NVD CVE-2024-47068
- Maintainer advisory GHSA-gcx4-mw62-g8wm
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rollup/rollup published their own advisory on GitHub. Reviewed sources take precedence over it.