vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
Your version
5.4.21 is the newest release of 5.x.
In short
2 fixed
Security
Fixes 2 advisories that affected 5.2.13
- ModerateVite DOM Clobbering gadget found in vite bundled scripts that leads to XSSGHSA-64vr-g452-qvp3 · 17 Sep 2024Fixed in 5.2.14
- ModerateVite's `server.fs.deny` is bypassed when using `?import&raw`GHSA-9cwx-2883-4wfx · 17 Sep 2024Fixed in 5.2.14
18 advisories affect 5.2.14; 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
- 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
- Moderatelaunch-editor: escapeCmdArgs() omits % escaping on WindowsGHSA-698v-4r3x-3vcv · 20 Oct 2026Fixed in 6.4.4
13 more
- 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 5.4.19
- ModerateVite has an `server.fs.deny` bypass with an invalid `request-target`GHSA-356w-63v5-8wf4 · 11 Apr 2025Fixed in 5.4.18
- ModerateVite allows server.fs.deny to be bypassed with .svg or relative pathsGHSA-xcj6-pq6g-qj4x · 4 Apr 2025Fixed in 5.4.17
- ModerateVite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryGHSA-4r4m-qw57-chr8 · 31 Mar 2025Fixed in 5.4.16
- ModerateVite bypasses server.fs.deny when using ?raw??GHSA-x574-m823-4x7w · 25 Mar 2025Fixed in 5.4.15
- ModerateWebsites were able to send any requests to the development server and read the response in viteGHSA-vg6x-rcgg-rjx6 · 21 Jan 2025Fixed in 5.4.12
- 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
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.