CVE-2026-112949vitest-dev vitest
Media 4.7 Sin autenticación
Seguir: esta CVE · vitest-dev · vitest-dev vitest Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para vitest.
- 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 | @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
- vitest-dev · vitest
- @vitest · mocker
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.