Skip to content
Fencer Vulns
medium 6.1

CVE-2024-47068 json

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

published 2024-09-23 2 y ago modified 2026-09-10 1 mo ago also GHSA-gcx4-mw62-g8wm , EUVD-2024-2800

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 54%
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

Vendor 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-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Migration Toolkit for Runtimes rollup
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9
    affected: 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-rhel8
    affected: workaround, no fix available
  • Red Hat Developer Hub 1.5 rhdh
    fixed: vendor fix RHSA-2025:3374
  • Red Hat OpenShift distributed tracing 3.4 rhosdt
    fixed: 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-rhel8
    +17 more products
    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
    not affected: vulnerable code not present

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
2 y ago

Exploit prediction

0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).

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
NVD 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

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

Sources

Fencer Vulns 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.