vite
8.3.8 · 11 Nov 2026MIT285.1M / weekRepositoryHomepagenpmAtom feed
4.5.14 is the newest release of 4.x.
In short
1 new19 fixed
Security
23 advisories affect 4.4.10; 6.4.4 fixes them
- Highlaunch-editor: `fs.existsSync()` existence check can be bypassed on WindowsGHSA-587h-7wmj-h5pm · 20 Oct 2026Fixed in 6.4.4
- Highlaunch-editor vulnerable to command injection via the crafted request on WindowsGHSA-c27g-q93r-2cwf · 3 Jun 2026Fixed in 5.4.9
- HighVite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystemGHSA-c24v-8rfc-w8vw · 19 Jan 2024Fixed in 4.5.2
- ModerateVite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machineGHSA-rq7h-c2jc-7f22 · 21 Oct 2026Fixed in 6.4.4
- Moderatelaunch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsGHSA-r825-w8mm-5pxw · 20 Oct 2026Fixed in 6.4.4
18 more
- Moderatelaunch-editor: escapeCmdArgs() omits % escaping on WindowsGHSA-698v-4r3x-3vcv · 20 Oct 2026Fixed in 6.4.4
- Moderatelaunch-editor: NTLMv2 hash disclosure via UNC path handling on WindowsGHSA-v6wh-96g9-6wx3 · 15 Jun 2026Fixed in 6.4.3
- Moderatevite: `server.fs.deny` bypass on Windows alternate pathsGHSA-fx2h-pf6j-xcff · 15 Jun 2026Fixed in 6.4.3
- ModerateVite Vulnerable to Path Traversal in Optimized Deps `.map` HandlingGHSA-4w7w-66w2-5vf9 · 6 Apr 2026Fixed in 6.4.2
- Moderatevite allows server.fs.deny bypass via backslash on WindowsGHSA-93m4-6634-74q7 · 20 Oct 2025Fixed in 5.4.21
- ModerateVite's server.fs.deny bypassed with /. for files under project rootGHSA-859w-5945-r5v3 · 30 Apr 2025Fixed in 4.5.14
- ModerateVite has an `server.fs.deny` bypass with an invalid `request-target`GHSA-356w-63v5-8wf4 · 11 Apr 2025Fixed in 4.5.13
- ModerateVite allows server.fs.deny to be bypassed with .svg or relative pathsGHSA-xcj6-pq6g-qj4x · 4 Apr 2025Fixed in 4.5.12
- ModerateVite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryGHSA-4r4m-qw57-chr8 · 31 Mar 2025Fixed in 4.5.11
- ModerateVite bypasses server.fs.deny when using ?raw??GHSA-x574-m823-4x7w · 25 Mar 2025Fixed in 4.5.10
- ModerateWebsites were able to send any requests to the development server and read the response in viteGHSA-vg6x-rcgg-rjx6 · 21 Jan 2025Fixed in 4.5.6
- ModerateVite DOM Clobbering gadget found in vite bundled scripts that leads to XSSGHSA-64vr-g452-qvp3 · 17 Sep 2024Fixed in 4.5.5
- ModerateVite's `server.fs.deny` is bypassed when using `?import&raw`GHSA-9cwx-2883-4wfx · 17 Sep 2024Fixed in 4.5.5
- ModerateVite's `server.fs.deny` did not deny requests for patterns with directories.GHSA-8jhw-289h-jh2g · 3 Apr 2024Fixed in 4.5.3
- ModerateVite XSS vulnerability in `server.transformIndexHtml` via URL payloadGHSA-92r3-m2mg-pj97 · 5 Dec 2023Fixed in 4.5.1
- LowVite: Cross origin script execution through Vite custom middlewareGHSA-9jrq-w75r-8gcw · 21 Oct 2026Fixed in 6.4.4
- LowVite middleware may serve files starting with the same name with the public directoryGHSA-g4jq-h2w9-997c · 9 Sep 2025Fixed in 5.4.20
- LowVite's `server.fs` settings were not applied to HTML filesGHSA-jqfw-vq24-v9c3 · 9 Sep 2025Fixed in 5.4.20
Release note
Add source map to Web Workers (fix #14216) (#14217) (df6f32f), closes #14216 #14217
Handle errors during
hasWorkspacePackageJSONfunction (#14394) (6f6e5de), closes #14394Handle sourcemap correctly when multiple line import exists (#14232) (218861f), closes #14232
If host is specified check whether it is valid (#14013) (b1b816a), closes #14013
Include
vite/types/*in exports field (#14296) (40e99a1), closes #14296initWasm options should be optional (#14152) (119c074), closes #14152
Restore builtins list
Use string manipulation instead of regex to inject esbuild helpers (#14094) (128ad8f), closes #14094
Ws never connects after restarting server if server.hmr.server is set (#14127) (441642e), closes #14127
analysis: Warnings for dynamic imports that use static template literals (#14458) (0c6d289), closes #14458
css: Remove pure css chunk sourcemap (#14290) (cd7e033), closes #14290
css: Reset render cache on renderStart (#14326) (d334b3d), closes #14326
glob: Trigger HMR for glob in a package (#14117) (0f582bf), closes #14117
import-analysis: Preserve importedUrls import order (#14465) (269aa43), closes #14465
manifest: Preserve pure css chunk assets (#14297) (3d63ae6), closes #14297
optimizer: Define crawlDeps after scanProcessing and optimizationResult are complete (fix #1428 (fcaf749), closes #14284 #14285
resolve: Support submodules of optional peer deps (#14489) (104971d), closes #14489
vite: Precisely check if files are in dirs (#14241) (c4758d1), closes #14241
Improve deno and bun support (#14379) (8bc1f9d), closes #14379
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.