Vitest 是一个由 Vite 驱动的测试框架。在从 5.0.0-beta.6 到 5.0.5 的版本中,Vitest 的开发服务器可能错误地应用了 配置,因为项目服务器会覆盖 Vite 的默认设置,而根服务器在 Vite 完成其匹配器编译后才会添加 。能够访问受影响的前端界面(UI)、浏览器模式(Browser Mode)或 API 服务器的攻击者,可以读取被禁止访问的项目文件,或读取位于 中的备用 API 令牌。此外,若启用 的浏览器模式,攻击者还可通过恶意网站暴露兼容 JavaScript 的 环境变量值。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-112950 | 5.9 MEDIUM | Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix |
| CVE-2026-112949 | 4.7 MEDIUM | Vitest: Code injection via unauthenticated manual mock registration |
No comments yet