vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
Upgrading vite From 5.4.11 to 5.4.12
1 release in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking5.4.12
- Breaking5.4.12
Security
16 advisories still affect 5.4.12
- Vite has an `server.fs.deny` bypass with an invalid `request-target`moderate · GHSA-356w-63v5-8wf4
- Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` querymoderate · GHSA-4r4m-qw57-chr8
- Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handlingmoderate · GHSA-4w7w-66w2-5vf9
Upgrading to 6.4.4 clears them.
Fixes 1 advisory affecting 5.4.11
- Websites were able to send any requests to the development server and read the response in vitemoderate · GHSA-vg6x-rcgg-rjx6
Release by release
- Breaking
Check host header to prevent DNS rebinding attacks and introduce
server.allowedHosts - Breaking
Default
server.cors: falseto disallow fetching from untrusted origins - Fixed
Verify token for HMR WebSocket connection
- Breaking
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.