CVE-2026-6402Webpack.js Webpack-dev-server
Media 6.5 Sin autenticación
Seguir: esta CVE · Webpack.js · Webpack.js Webpack-dev-server Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 12 may 2026
- Actualizada
- 11 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-749
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Qué pasa
webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure when serving over a non-potentially trustworthy origin such as plain HTTP. The previous fix relied on the Sec-Fetch-Mode and Sec-Fetch-Site request headers, which browsers omit for non-trustworthy origins, allowing a malicious site to load the bundled source as a script and read it across origins. Impact: an attacker controlling a website visited by a developer running webpack-dev-server can recover the application source code when the dev server runs over HTTP at a guessable host and port. Chromium based browsers from Chrome 142 onward are not affected due to local network access restrictions. Upgrade to webpack-dev-server 5.2.4 or later, which sets Cross-Origin-Resource-Policy: same-origin on responses.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Webpack-dev-server.
- 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 | webpack-dev-server |
< 5.2.4 |
5.2.4 |
npm install webpack-dev-server@5.2.4 |
Según OSV / GitHub Advisories (GHSA-79cf-xcqc-c78w). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| webpack.js | webpack-dev-server | < 5.2.4 |
Boletines oficiales
- agama-web-ui-21+360.16caae772-44.1 on GA media · SUSE · openSUSE-SU-2026:10979-1 · 9 jun 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- cna.openjsf.org Vendor Advisory
- github.com Mitigation Vendor Advisory