CVE-2024-47068Rollupjs Rollup
Media 6.1 Sin autenticación
Seguir: esta CVE · Rollupjs · Rollupjs Rollup Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probabilidad de explotación en 30 días · percentil 61
- Requiere autenticación
- No
- Publicada
- 23 sep 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Rollup.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | rollup |
≥ 3.0.0 < 3.29.5 |
3.29.5 |
npm install rollup@3.29.5 |
| npm | rollup |
≥ 4.0.0 < 4.22.4 |
4.22.4 |
npm install rollup@4.22.4 |
| npm | rollup |
< 2.79.2 |
2.79.2 |
npm install rollup@2.79.2 |
Según OSV / GitHub Advisories (GHSA-gcx4-mw62-g8wm). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rollupjs | rollup | ≥ 0.59.0 < 2.79.2 |
| rollupjs | rollup | ≥ 3.0.0 < 3.29.5 |
| rollupjs | rollup | ≥ 4.0.0 < 4.22.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product
- github.com Product
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory