Vite is a frontend tooling framework for javascript. Prior to 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13, the contents of arbitrary files can be returned to the browser if the dev server is running on Node or Bun. HTTP 1.1 spec (RFC 9112) does not allow # in request-target. Althoug...
Vendor
vitejs vulnerabilities
37 published CVES affecting vitejs, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 37
- Critical
- 2
- High
- 13
- Medium
- 19
- Low
- 3
- Unscored
- 0
- CISA KEV
- 1
Products
Latest vitejs CVEs
Newest publication first · page 2 of 2
-
MediumCVSS 6.0 EPSS 1.8% Scanner template PoC
-
MediumCVSS 5.3 EPSS 1.7% Scanner template
Vite is a frontend tooling framework for javascript. The contents of arbitrary files can be returned to the browser. By adding ?.svg with ?.wasm?init or with sec-fetch-dest: script header, the server.fs.deny restriction was able to bypass. This bypass is only possible if the file...
-
CVE-2025-31125 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
PublishedHighCVSS 7.5 EPSS 14.8% CISA KEV added 2026-01-22 Exploited in the wild Scanner template PoCVite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fix...
-
HighCVSS 7.5 EPSS 17.0% Public exploit Scanner template PoC
Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. @fs denies access to files outside of Vite serving allow list. Adding ?raw?? or ?import&raw?? to the URL bypasses this limitation and returns the f...
-
MediumCVSS 6.5 EPSS 0.34%
Vite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response due to default CORS settings and lack of validation on the Origin header for WebSocket connections. This vulnerability is fixed in 6...
-
CVE-2024-45812 DOM Clobbering gadget found in vite bundled scripts that leads to XSS in Vite
PublishedMediumCVSS 6.4 EPSS 0.91%Vite a frontend build tooling framework for javascript. Affected versions of vite were discovered to contain a DOM Clobbering vulnerability when building scripts to cjs/iife/umd output format. The DOM Clobbering gadget in the module can lead to cross-site scripting (XSS) in web p...
-
MediumCVSS 4.8 EPSS 0.52%
Vite a frontend build tooling framework for javascript. In affected versions the contents of arbitrary files can be returned to the browser. @fs denies access to files outside of Vite serving allow list. Adding ?import&raw to the URL bypasses this limitation and returns the file...
-
CVE-2024-31207 Vite's `server.fs.deny` did not deny requests for patterns with directories
PublishedMediumCVSS 5.9 EPSS 0.84%Vite (French word for "quick", pronounced /vit/, like "veet") is a frontend build tooling to improve the frontend development experience.server.fs.deny does not deny requests for patterns with directories. This vulnerability has been patched in version(s) 5.2.6, 5.1.7, 5.0.13, 4....
-
HighCVSS 7.5 EPSS 0.86%
Vite is a frontend tooling framework for javascript. The Vite dev server option server.fs.deny can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 --...
-
CVE-2023-49293 Cross-site Scripting in `server.transformIndexHtml` via URL payload in vite
PublishedMediumCVSS 6.1 EPSS 1.1% Scanner templateVite is a website frontend framework. When Vite's HTML transformation is invoked manually via server.transformIndexHtml, the original request URL is passed in unmodified, and the html being transformed contains inline module scripts (<script type="module">...</script>), it is pos...
-
CVE-2023-34092 Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)
PublishedHighCVSS 7.5 EPSS 2.9% Scanner templateVite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including...
-
MediumCVSS 4.3 EPSS 1.4%
Vitejs Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.