CISA list

● npm package

vite

Vite has 29 security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest release any of them names as the fix is 8.3.3.

As of , vite has 29 security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest release any of them names as the fix is 8.3.3.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 8.3.0 before 8.3.38.3.36 advisories
From 8.2.0 before 8.2.48.2.46 advisories
From 8.0.0 before 8.1.68.1.610 advisories
From 7.0.0 before 7.3.77.3.713 advisories
Before 6.4.56.4.527 advisoriesOne is on CISA's list

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-118662GHSA-8g5g-mxqh-grgjVite: `server.fs.deny` bypassed with queriesModerate severityFrom 6.4.4 before 6.4.56.4.5
CVE-2026-112945GHSA-9jrq-w75r-8gcwVite: Cross origin script execution through Vite custom middlewareLow severityFrom 8.3.0 before 8.3.3; From 8.2.0 before 8.2.4; From 8.0.0 before 8.1.6; From 7.0.0 before 7.3.7; Before 6.4.46.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
CVE-2026-112946GHSA-rq7h-c2jc-7f22Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machineModerate severityFrom 8.3.0 before 8.3.3; From 8.2.0 before 8.2.4; From 8.0.0 before 8.1.6; From 7.0.0 before 7.3.7; Before 6.4.46.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
CVE-2026-112947GHSA-vfpm-58rq-9qcgVite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`Moderate severityFrom 8.3.0 before 8.3.3; From 8.2.0 before 8.2.48.2.4, 8.3.3
CVE-2026-112944GHSA-r825-w8mm-5pxwlaunch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsModerate severityFrom 8.3.0 before 8.3.3; From 8.2.0 before 8.2.4; From 8.0.0 before 8.1.6; From 7.0.0 before 7.3.7; Before 6.4.46.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
CVE-2026-112942GHSA-587h-7wmj-h5pmlaunch-editor: `fs.existsSync()` existence check can be bypassed on WindowsHigh severityFrom 8.3.0 before 8.3.3; From 8.2.0 before 8.2.4; From 8.0.0 before 8.1.6; From 7.0.0 before 7.3.7; Before 6.4.46.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
CVE-2026-112943GHSA-698v-4r3x-3vcvlaunch-editor: escapeCmdArgs() omits % escaping on WindowsModerate severityFrom 8.3.0 before 8.3.3; From 8.2.0 before 8.2.4; From 8.0.0 before 8.1.6; From 7.0.0 before 7.3.7; Before 6.4.46.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
CVE-2026-53632GHSA-v6wh-96g9-6wx3launch-editor: NTLMv2 hash disclosure via UNC path handling on WindowsModerate severityFrom 8.0.0 before 8.0.16; From 7.0.0 before 7.3.5; Before 6.4.36.4.3, 7.3.5, 8.0.16
CVE-2026-53571GHSA-fx2h-pf6j-xcffvite: `server.fs.deny` bypass on Windows alternate pathsModerate severityFrom 8.0.0 before 8.0.16; From 7.0.0 before 7.3.5; Before 6.4.36.4.3, 7.3.5, 8.0.16
CVE-2024-52011GHSA-c27g-q93r-2cwflaunch-editor vulnerable to command injection via the crafted request on WindowsHigh severityBefore 5.4.95.4.9
CVE-2026-39365GHSA-4w7w-66w2-5vf9Vite Vulnerable to Path Traversal in Optimized Deps `.map` HandlingModerate severityFrom 8.0.0 before 8.0.5; From 7.0.0 before 7.3.2; Before 6.4.26.4.2, 7.3.2, 8.0.5
CVE-2026-39364GHSA-v2wj-q39q-566rVite: `server.fs.deny` bypassed with queriesHigh severityFrom 8.0.0 before 8.0.5; From 7.1.0 before 7.3.27.3.2, 8.0.5
CVE-2026-39363GHSA-p9ff-h696-f583Vite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocketHigh severityFrom 8.0.0 before 8.0.5; From 7.0.0 before 7.3.2; From 6.0.0 before 6.4.26.4.2, 7.3.2, 8.0.5
CVE-2025-62522GHSA-93m4-6634-74q7vite allows server.fs.deny bypass via backslash on WindowsModerate severityFrom 7.1.0 before 7.1.11; From 7.0.0 before 7.0.8; From 6.0.0 before 6.4.1; From 2.9.18 before 5.4.215.4.21, 6.4.1, 7.0.8, 7.1.11
CVE-2025-58751GHSA-g4jq-h2w9-997cVite middleware may serve files starting with the same name with the public directoryLow severityFrom 7.1.0 before 7.1.5; From 7.0.0 before 7.0.7; From 6.0.0 before 6.3.6; Before 5.4.205.4.20, 6.3.6, 7.0.7, 7.1.5
CVE-2025-58752GHSA-jqfw-vq24-v9c3Vite's `server.fs` settings were not applied to HTML filesLow severityFrom 7.1.0 before 7.1.5; From 7.0.0 before 7.0.7; From 6.0.0 before 6.3.6; Before 5.4.205.4.20, 6.3.6, 7.0.7, 7.1.5
CVE-2025-46565GHSA-859w-5945-r5v3Vite's server.fs.deny bypassed with /. for files under project rootModerate severityFrom 6.3.0 before 6.3.4; From 6.2.0 before 6.2.7; From 6.0.0 before 6.1.6; From 5.0.0 before 5.4.19; Before 4.5.144.5.14, 5.4.19, 6.1.6, 6.2.7, 6.3.4
CVE-2025-32395GHSA-356w-63v5-8wf4Vite has an `server.fs.deny` bypass with an invalid `request-target`Moderate severityFrom 6.2.0 before 6.2.6; From 6.1.0 before 6.1.5; From 6.0.0 before 6.0.15; From 5.0.0 before 5.4.18; Before 4.5.134.5.13, 5.4.18, 6.0.15, 6.1.5, 6.2.6
CVE-2025-31486GHSA-xcj6-pq6g-qj4xVite allows server.fs.deny to be bypassed with .svg or relative pathsModerate severityFrom 6.2.0 before 6.2.5; From 6.1.0 before 6.1.4; From 6.0.0 before 6.0.14; From 5.0.0 before 5.4.17; Before 4.5.124.5.12, 5.4.17, 6.0.14, 6.1.4, 6.2.5
CVE-2025-31125GHSA-4r4m-qw57-chr8On CISA's list: CVE-2025-31125Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryModerate severityFrom 6.2.0 before 6.2.4; From 6.1.0 before 6.1.3; From 6.0.0 before 6.0.13; From 5.0.0 before 5.4.16; Before 4.5.114.5.11, 5.4.16, 6.0.13, 6.1.3, 6.2.4
CVE-2025-30208GHSA-x574-m823-4x7wVite bypasses server.fs.deny when using ?raw??Moderate severityFrom 6.2.0 before 6.2.3; From 6.1.0 before 6.1.2; From 6.0.0 before 6.0.12; From 5.0.0 before 5.4.15; Before 4.5.104.5.10, 5.4.15, 6.0.12, 6.1.2, 6.2.3
CVE-2025-24010GHSA-vg6x-rcgg-rjx6Websites were able to send any requests to the development server and read the response in viteModerate severityFrom 6.0.0 before 6.0.9; From 5.0.0 before 5.4.12; Before 4.5.64.5.6, 5.4.12, 6.0.9
CVE-2024-45812GHSA-64vr-g452-qvp3Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSSModerate severityFrom 5.4.0 before 5.4.6; From 5.3.0 before 5.3.6; From 5.2.0 before 5.2.14; From 5.0.0 before 5.1.8; From 4.0.0 before 4.5.4; Before 3.2.113.2.11, 4.5.4, 5.1.8, 5.2.14, 5.3.6, 5.4.6
CVE-2024-45811GHSA-9cwx-2883-4wfxVite's `server.fs.deny` is bypassed when using `?import&raw`Moderate severityFrom 5.4.0 before 5.4.6; From 5.3.0 before 5.3.6; From 5.2.0 before 5.2.14; From 5.0.0 before 5.1.8; From 4.0.0 before 4.5.4; Before 3.2.113.2.11, 4.5.4, 5.1.8, 5.2.14, 5.3.6, 5.4.6
CVE-2024-31207GHSA-8jhw-289h-jh2gVite's `server.fs.deny` did not deny requests for patterns with directories.Moderate severityFrom 5.2.0 before 5.2.6; From 5.1.0 before 5.1.7; From 5.0.0 before 5.0.13; From 4.0.0 before 4.5.3; From 3.0.0 before 3.2.10; From 2.7.0 before 2.9.182.9.18, 3.2.10, 4.5.3, 5.0.13, 5.1.7, 5.2.6
CVE-2024-23331GHSA-c24v-8rfc-w8vwVite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystemHigh severityFrom 5.0.0 before 5.0.12; From 4.0.0 before 4.5.2; From 3.0.0 before 3.2.8; From 2.7.0 before 2.9.172.9.17, 3.2.8, 4.5.2, 5.0.12
CVE-2023-49293GHSA-92r3-m2mg-pj97Vite XSS vulnerability in `server.transformIndexHtml` via URL payloadModerate severityFrom 5.0.0 before 5.0.5; From 4.5.0 before 4.5.1; From 4.4.0 before 4.4.124.4.12, 4.5.1, 5.0.5
CVE-2023-34092GHSA-353f-5xf4-qw67Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)High severityFrom 4.3.0 before 4.3.9; From 4.2.0 before 4.2.3; From 4.1.0 before 4.1.5; From 4.0.0 before 4.0.5; From 3.0.2 before 3.2.7; Before 2.9.162.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9
CVE-2022-35204GHSA-mv48-hcvh-8jj8Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's serviceHigh severityFrom 3.0.0-alpha.0 before 3.0.0-beta.4; Before 2.9.132.9.13, 3.0.0-beta.4

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0