## Summary
`@vitest/mocker` registers a redirect mock's target path without validating it
against the dev server's file-serving allowlist. An attacker who can reach the
dev server's WebSocket can register a redirect mock pointing outside the project
root; when the mocked modul...
### Summary
Arbitrary file can be read on Windows when Vitest UI server is listening, especially when exposed to the network.
### Impact
Only users that match either of the following conditions are affected:
- explicitly exposes the Vitest UI server to the network (using `--...
### Summary
Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks.
### Details
When [`api` option](https://vitest.dev/config/#api) is enabled (Vitest UI enables it), Vitest sta...