# vite (npm)

Native-ESM powered web dev build tool

- Latest: 8.4.1 (2026-12-02)
- Licence: MIT
- Downloads: 1205824725 last month
- Advisories on the latest version: 0

- CVE-2026-140098 MODERATE: Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker` Fixed in 8.4.0-beta.2.
- CVE-2026-118662 MODERATE: Vite: `server.fs.deny` bypassed with queries Fixed in 6.4.5.
- CVE-2026-112945 LOW: Vite: Cross origin script execution through Vite custom middleware Fixed in 8.1.6, 7.3.7, 6.4.4.
- CVE-2026-112946 MODERATE: Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine Fixed in 8.1.6, 7.3.7, 6.4.4.
- CVE-2026-112947 MODERATE: Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance` Fixed in 8.3.3, 8.2.4.
- CVE-2026-112942 HIGH: launch-editor: `fs.existsSync()` existence check can be bypassed on Windows Fixed in 8.1.6, 7.3.7, 6.4.4.
- CVE-2026-112943 MODERATE: launch-editor: escapeCmdArgs() omits % escaping on Windows Fixed in 8.1.6, 7.3.7, 6.4.4.
- CVE-2026-112944 MODERATE: launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors Fixed in 8.1.6, 7.3.7, 6.4.4.
- CVE-2026-53571 MODERATE: vite: `server.fs.deny` bypass on Windows alternate paths Fixed in 8.0.16, 7.3.5, 6.4.3.
- CVE-2026-53632 MODERATE: launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows Fixed in 8.0.16, 7.3.5, 6.4.3.
- CVE-2024-52011 HIGH: launch-editor vulnerable to command injection via the crafted request on Windows Fixed in 5.4.9.
- CVE-2026-39365 MODERATE: Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling Fixed in 8.0.5, 7.3.2, 6.4.2.
- CVE-2026-39363 HIGH: Vite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocket Fixed in 8.0.5, 7.3.2, 6.4.2.
- CVE-2026-39364 HIGH: Vite: `server.fs.deny` bypassed with queries Fixed in 8.0.5, 7.3.2.
- CVE-2025-62522 MODERATE: vite allows server.fs.deny bypass via backslash on Windows Fixed in 7.0.8, 6.4.1, 5.4.21.
- CVE-2025-58751 LOW: Vite middleware may serve files starting with the same name with the public directory Fixed in 7.0.7, 6.3.6, 5.4.20.
- CVE-2025-58752 LOW: Vite's `server.fs` settings were not applied to HTML files Fixed in 7.0.7, 6.3.6, 5.4.20.
- CVE-2025-46565 MODERATE: Vite's server.fs.deny bypassed with /. for files under project root Fixed in 6.1.6, 5.4.19, 4.5.14.
- CVE-2025-32395 MODERATE: Vite has an `server.fs.deny` bypass with an invalid `request-target` Fixed in 6.0.15, 5.4.18, 4.5.13.
- CVE-2025-31486 MODERATE: Vite allows server.fs.deny to be bypassed with .svg or relative paths Fixed in 6.0.14, 5.4.17, 4.5.12.
- CVE-2025-31125 MODERATE: Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query Fixed in 6.0.13, 5.4.16, 4.5.11.
- CVE-2025-30208 MODERATE: Vite bypasses server.fs.deny when using ?raw?? Fixed in 6.0.12, 5.4.15, 4.5.10.
- CVE-2025-24010 MODERATE: Websites were able to send any requests to the development server and read the response in vite Fixed in 6.0.9, 5.4.12, 4.5.6.
- CVE-2024-45812 MODERATE: Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSS Fixed in 4.5.4, 3.2.11, 5.1.8.
- CVE-2024-45811 MODERATE: Vite's `server.fs.deny` is bypassed when using `?import&raw` Fixed in 4.5.4, 3.2.11, 5.1.8.
- CVE-2024-31207 MODERATE: Vite's `server.fs.deny` did not deny requests for patterns with directories. Fixed in 5.0.13, 5.1.7, 5.2.6.
- CVE-2024-23331 HIGH: Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem Fixed in 3.2.8, 4.5.2, 5.0.12.
- CVE-2023-49293 MODERATE: Vite XSS vulnerability in `server.transformIndexHtml` via URL payload Fixed in 4.4.12, 4.5.1, 5.0.5.
- CVE-2023-34092 HIGH: Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) Fixed in 4.1.5, 4.2.3, 4.3.9.
- CVE-2022-35204 HIGH: Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service Fixed in 2.9.13, 3.0.0-beta.4.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
