vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
Upgrading vite From 7.0.2 to 8.3.8
73 releases in betweennotes for 71
Counted from 71 of 73 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking8.3.4
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Deprecated8.1.0
- Deprecated8.0.0
Security
Fixes 12 advisories affecting 7.0.2
- 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
- launch-editor: escapeCmdArgs() omits % escaping on Windowsmoderate · GHSA-698v-4r3x-3vcv
- vite allows server.fs.deny bypass via backslash on Windowsmoderate · GHSA-93m4-6634-74q7
- Vite: Cross origin script execution through Vite custom middlewarelow · GHSA-9jrq-w75r-8gcw
- 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
- Vite Vulnerable to Arbitrary File Read via Vite Dev Server WebSockethigh · GHSA-p9ff-h696-f583
- 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
- 8.0.5
Avoid path traversal with optimize deps sourcemap handler
Release by release
- New
Defer
net useuntil a UNC path is resolved on Windows - Fixed
build: keep
magicStringandastin transform hook meta - Fixed
deps: update all non-major dependencies
- Fixed
Hide console window when running
yarn config geton Windows
- New
8.3.7nothing new or fixed in the note
- Fixed
build: handle missing chunk import maps
- Fixed
build: include preload dependencies to chunk import map hashing
- Fixed
- Fixed
html: filename passed to transformIndexHtml should not include queries
- Fixed
server: check
fs.servefor?vite-wasm-instance - Fixed
server: store ids to
safeModulePathsrather than URLs
- Fixed
- New
Avoid encoding intermediate source maps
- New
build: avoid quadratic link scan in the preload helper
- New
Only register time middleware when debug logging is enabled
- Fixed
build: preload CSS correctly when
renderBuiltUrlreturns URLs with queries - Fixed
Limit size of object and array printing via
forwardConsole - Fixed
Merge
build.rolldownOptions.output.minifycorrectly - Fixed
Pass queries to
renderBuiltUrl
- New
- Fixed
Handle
server.ws: falsein mergeConfig - Fixed
Merge
build.rolldownOptions.output.commentscorrectly
- Fixed
2 other lines we could not sort, mostly version bumps
233 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.