Vulnerability in Vite Framework Exposes Applications to Code Execution Risks
CVE-2026-112945

2.1LOW

Key Information:

Vendor

Vitejs

Vendor
CVE Published:
20 October 2026

What is CVE-2026-112945?

Prior to specified versions, the Vite framework is susceptible to a code execution vulnerability due to improper handling of modified browser request URLs in custom middleware. When a victim's browser interacts with a crafted development server page containing an inline module script, it may inadvertently fetch and execute attacker-controlled module code. This exploit can expose sensitive data or enable unauthorized actions within the application, underlining the importance of updating to the latest versions to mitigate these risks.

Affected Version(s)

vite >= 8.3.0, < 8.3.3 < 8.3.0, 8.3.3

vite >= 8.2.0, < 8.2.4 < 8.2.0, 8.2.4

vite >= 8.0.0, < 8.1.6 < 8.0.0, 8.1.6

References

CVSS V4

Score:
2.1
Severity:
LOW
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.