Amenazas en vivo

Todas las CVE / Webpack.js

CVE-2026-6402Webpack.js Webpack-dev-server

Media 6.5 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Webpack-dev-server.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
webpack.jswebpack-dev-server< 5.2.4

Boletines oficiales

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.