Amenazas en vivo

Todas las CVE / vitest-dev

CVE-2026-112949vitest-dev vitest

Media 4.7 Sin autenticación

Prioridad
43
CVSS 3.1
4.7
EPSS
—
Requiere autenticación
No
Publicada
20 oct 2026
Actualizada
23 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-94, CWE-116, CWE-306
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Qué pasa

Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 2.1.0-beta.7 until 4.1.12 and 5.0.3, an unauthenticated non-browser WebSocket client that can reach a development server using interceptorPlugin can register a manual mock whose attacker-controlled url createManualModuleSource inserts unescaped into generated module source. When the developer browser loads the affected module, attacker-controlled JavaScript executes on the development-server origin. This issue is fixed in versions 4.1.12 and 5.0.3.

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 vitest.
  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 @vitest/mocker ≥ 2.1.0-beta.7 < 4.1.12 4.1.12 npm install @vitest/mocker@4.1.12
npm @vitest/mocker ≥ 5.0.0-beta.1 < 5.0.3 5.0.3 npm install @vitest/mocker@5.0.3

Según OSV / GitHub Advisories (GHSA-qxg6-89mg-rqv8). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.