vite
8.3.8 · 11 Nov 2026MIT285.1M / weekRepositoryHomepagenpmAtom feed
Upgrading vite From 4.3.8 to 6.4.5
140 releases in betweennotes for 138
5.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below; the migration guide covers them.
Counted from 138 of 140 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking6.0.9
- Breaking6.0.9
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
Security
Fixes 23 advisories affecting 4.3.8
- Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)high · GHSA-353f-5xf4-qw67
- 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
- launch-editor: `fs.existsSync()` existence check can be bypassed on Windowshigh · GHSA-587h-7wmj-h5pm
- Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSSmoderate · GHSA-64vr-g452-qvp3
- launch-editor: escapeCmdArgs() omits % escaping on Windowsmoderate · GHSA-698v-4r3x-3vcv
- Vite's server.fs.deny bypassed with /. for files under project rootmoderate · GHSA-859w-5945-r5v3
- Vite's `server.fs.deny` did not deny requests for patterns with directories.moderate · GHSA-8jhw-289h-jh2g
- vite allows server.fs.deny bypass via backslash on Windowsmoderate · GHSA-93m4-6634-74q7
- Vite's `server.fs.deny` is bypassed when using `?import&raw`moderate · GHSA-9cwx-2883-4wfx
- Vite: Cross origin script execution through Vite custom middlewarelow · GHSA-9jrq-w75r-8gcw
- Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystemhigh · GHSA-c24v-8rfc-w8vw
- launch-editor vulnerable to command injection via the crafted request on Windowshigh · GHSA-c27g-q93r-2cwf
- vite: `server.fs.deny` bypass on Windows alternate pathsmoderate · GHSA-fx2h-pf6j-xcff
- Vite middleware may serve files starting with the same name with the public directorylow · GHSA-g4jq-h2w9-997c
- Vite's `server.fs` settings were not applied to HTML fileslow · GHSA-jqfw-vq24-v9c3
- launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsmoderate · GHSA-r825-w8mm-5pxw
- Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machinemoderate · GHSA-rq7h-c2jc-7f22
- launch-editor: NTLMv2 hash disclosure via UNC path handling on Windowsmoderate · GHSA-v6wh-96g9-6wx3
- Websites were able to send any requests to the development server and read the response in vitemoderate · GHSA-vg6x-rcgg-rjx6
- Vite bypasses server.fs.deny when using ?raw??moderate · GHSA-x574-m823-4x7w
- Vite allows server.fs.deny to be bypassed with .svg or relative pathsmoderate · GHSA-xcj6-pq6g-qj4x
Release by release
- Fixed
- Fixed
- Fixed
7 other lines we could not sort, mostly version bumps
- 6.0.6
Unpin esbuild version
- 6.0.1
Update moduleResolution value casing
- 6.0.0
Use chokidar v3
- 5.3.5
- 5.2.10
- 5.1.5
- 4.4.11
223 internal lines (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.