CVE-2026-47428: falha crítica em vitest-dev vitest
Vitest browser mode serves unsanitized otelCarrier query parameter as inline script
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
28Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 9.6epss 0.6%
Vitest is a testing framework powered by Vite. From 4.0.17 until 4.1.6 and 5.0.0-beta.3, Vitest Browser Mode served /__vitest_test__/ with the otelCarrier query parameter inserted directly into an inline module script, allowing a crafted browser-runner URL to execute arbitrary JavaScript in the Vitest server origin and recover VITEST_API_TOKEN for authenticated API calls. This issue is fixed in versions 4.1.6 and 5.0.0-beta.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Produtos afetados
vitest-dev · vitestCVEs relacionadas — vitest-dev vitest
No mesmo produto, das mais perigosas para as menos.
CVE-2025-24963MEDIUMBrowser mode serves arbitrary files in vitestEPSS 2.4%CVE-2026-47429CRITICALVitest: Arbitrary file can be read and executed when Vitest UI server is listeningEPSS 1.0%CVE-2026-53633CRITICALVitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCEEPSS 0.9%CVE-2026-73653CRITICALVitest: Browser Mode provider commands bypass the file-access permission gateEPSS 0.8%CVE-2025-24964CRITICALRemote Code Execution when accessing a malicious website while Vitest API server is listeningEPSS 0.7%CVE-2026-112950MEDIUMVitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fixEPSS 0.5%
Referências
https://github.com/vitest-dev/vitest/commit/18af98cee1830604d57f6a02bf28f8067cdffc06https://github.com/vitest-dev/vitest/commit/3514f9fa135c90e1c35754fc4d27c9cf351faafahttps://github.com/vitest-dev/vitest/pull/10283https://github.com/vitest-dev/vitest/pull/10285https://github.com/vitest-dev/vitest/releases/tag/v4.1.6https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.3https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp