CVE-2026-140097: vitejs vite · Improper Encoding or Escaping of Output
Affects vitejs viteSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical · fixed in 8.3.7 : patch vitejs vite as a priority.
Data as of 30 Nov 2026, 22:46 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 9.1 |
|---|
- Patch
- Available – fixed in 8.3.7, 8.2.5, 8.1.7 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite-plus | Affected
| Fixed in
|
AI-suggested
This vulnerability is fixed in Vite versions 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7, and vite-plus 1.5.1. Users should upgrade to these or later versions to remediate the issue. No other mitigations are stated in the vendor advisory.
Description
Vite, a JavaScript frontend tooling framework, has a critical vulnerability (CVE-2026-140097) affecting versions from 4.0.0 up to but not including 6.4.6, 7.0.0 up to 7.3.8, 8.0.0 up to 8.1.7, 8.2.0 up to 8.2.5, 8.3.0 up to 8.3.7, and vite-plus versions prior to 1.5.1. The flaw involves improper encoding or escaping of output in the development server, allowing a remote unauthenticated attacker to inject imports that can add files to the server's allow list and execute arbitrary code or disclose local files via server-side evaluation. This vulnerability is fixed in Vite versions 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7, and vite-plus 1.5.1.
References
- github.com/vitejs/vite/security/advisories/GHSA-p4f5-76q4-ffq7 (opens in a new tab)
- github.com/vitejs/vite/pull/24043 (opens in a new tab)
- github.com/vitejs/vite/pull/24044 (opens in a new tab)
- github.com/vitejs/vite/commit/4b4291018a34d1591a6a18ab5c406d5b6a7a4ea1 (opens in a new tab)
- github.com/vitejs/vite/commit/517affb174632db347a6a2426f12eab020277946 (opens in a new tab)
- github.com/vitejs/vite/commit/8ef8a1b27bcd0e8e7693569f98b52b1b111025ca (opens in a new tab)
- github.com/vitejs/vite/commit/e5f23b60f0c46a906a60986faad88a5bd7611a15 (opens in a new tab)
- github.com/vitejs/vite/blob/v6.4.6/packages/vite/CHANGELOG.md (opens in a new tab)
- github.com/vitejs/vite/blob/v7.3.8/packages/vite/CHANGELOG.md (opens in a new tab)
- github.com/vitejs/vite/blob/v8.1.7/packages/vite/CHANGELOG.md (opens in a new tab)
- github.com/vitejs/vite/blob/v8.2.5/packages/vite/CHANGELOG.md (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v6.4.6 (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v7.3.8 (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v8.1.7 (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v8.2.5 (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v8.3.7 (opens in a new tab)