Amenazas en vivo

Todas las CVE / Vitejs

CVE-2025-58752Vitejs Vite

Baja 2.3 Sin autenticación

Prioridad
29
CVSS 4.0
2.3
EPSS
—
Requiere autenticación
No
Publicada
8 sep 2025
Actualizada
30 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-23, CWE-200, CWE-284
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, any HTML files on the machine were served regardless of the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected. This vulnerability also affects the preview server. The preview server allowed HTML files not under the output directory to be served. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.

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 Vite.
  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 vite ≥ 7.1.0 < 7.1.5 7.1.5 npm install vite@7.1.5
npm vite ≥ 7.0.0 < 7.0.7 7.0.7 npm install vite@7.0.7
npm vite ≥ 6.0.0 < 6.3.6 6.3.6 npm install vite@6.3.6
npm vite < 5.4.20 5.4.20 npm install vite@5.4.20

Según OSV / GitHub Advisories (GHSA-jqfw-vq24-v9c3). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
vitejsvite< 5.4.20
vitejsvite≥ 6.0.0 < 6.3.6
vitejsvite≥ 7.0.0 < 7.0.7
vitejsvite≥ 7.1.0 < 7.1.5

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.