Skip to content

Commit 56f7336

Browse files
authored
docs: clarify ambiguous example in the threat model (#22117)
1 parent cc41398 commit 56f7336

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This section describes what Vite treats as trusted and untrusted. A report is on
4747
- A crafted URL causes the dev server to return file contents outside the `server.fs` boundary.
4848
- `server.fs.deny` bypassed with a crafted HTTP request ([GHSA-356w-63v5-8wf4](https://github.com/vitejs/vite/security/advisories/GHSA-356w-63v5-8wf4))
4949
- An unauthenticated WebSocket client injects HMR messages that execute arbitrary JavaScript on the developer's machine.
50-
- Missing or bypassable origin / host validation allows a cross-origin page to access dev-server endpoints that Vite documents as protected.
50+
- Missing or bypassable origin / host validation allows a cross-origin page to access dev-server endpoints that can cause confidentiality or integrity issues.
5151
- A flaw in code that Vite injects into the production bundle, such as the module-preload polyfill, introduces XSS.
5252
- DOM Clobbering Gadget in `module-preload-polyfill` leading to XSS ([GHSA-64vr-g452-qvp3](https://github.com/vitejs/vite/security/advisories/GHSA-64vr-g452-qvp3))
5353

0 commit comments

Comments
 (0)