Skip to main content
VulnerabilityPublished

CVE-2026-140097: vitejs vite · Improper Encoding or Escaping of Output

Affects vitejs viteSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.09.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
vitejsviteAffected
  • >=8.3.0 <8.3.7
Fixed in
  • 8.3.7
vitejsviteAffected
  • >=8.2.0 <8.2.5
Fixed in
  • 8.2.5
vitejsviteAffected
  • >=8.0.0 <8.1.7
Fixed in
  • 8.1.7
vitejsviteAffected
  • >=7.0.0 <7.3.8
Fixed in
  • 7.3.8
vitejsviteAffected
  • >=4.0.0 <6.4.6
Fixed in
  • 6.4.6
vitejsvite-plusAffected
  • <1.5.1
Fixed in
  • 1.5.1

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

Community reviews

Loading reviews…