Vendor
@vitest/browser File Access Bypass Vulnerability (GHSA-p63j-vcc4-9vmv)
5 TTPsA critical vulnerability in `@vitest/browser`'s Browser Mode allows arbitrary file system access due to a bypass of the `allowWrite` permission gate and lack of path confinement, enabling an attacker to read, create, overwrite, or delete files on the local filesystem where the Vitest process is running.
Vitest Arbitrary File Read Vulnerability
2 rules 2 TTPsAn arbitrary file read vulnerability exists in Vitest when the UI server is listening, especially when exposed to the network, allowing an attacker to read arbitrary files outside the project directory and potentially execute arbitrary scripts.
Vitest Browser Mode XSS via otelCarrier Parameter Leads to RCE
2 rules 2 TTPs 2 IOCsVitest browser mode is vulnerable to reflected cross-site scripting (XSS) due to the `otelCarrier` query parameter being inserted directly into an inline module script without sanitization, enabling an attacker to craft a browser-runner URL that executes arbitrary JavaScript in the Vitest server origin, potentially leading to remote code execution (RCE).