CVE-2026-112945
Last modified
CVE-2026-112945 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. Vite is a frontend tooling framework for JavaScript. Prior to 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3, applications using custom middleware are vulnerable when they pass an unchanged browser request URL to server.transformIndexHtml.
Description
Vite is a frontend tooling framework for JavaScript. Prior to 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3, applications using custom middleware are vulnerable when they pass an unchanged browser request URL to server.transformIndexHtml. getHtmlFilename uses the query-bearing request URL to resolve an existing local file while preserving attacker-supplied leading slashes in the generated proxy module URL. If the transformed HTML contains an inline module script and a victim browser loads the crafted development-server page, the leading double slash makes the browser fetch and execute an attacker-controlled module in the Vite-served page. This execution can expose sensitive page data or permit critical actions available to the affected application. This issue is fixed in versions 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vitejs | vite | >= 8.3.0, < 8.3.3; >= 8.2.0, < 8.2.4; >= 8.0.0, < 8.1.6; >= 7.0.0, < 7.3.7; < 6.4.4 |
| vitejs | vite-plus | < 1.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-112945?
How severe is CVE-2026-112945?
How do I fix CVE-2026-112945?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-11294Inappropriate implementation in Passwords in Google Chrome p…4.3
- CVE-2026-112940filelock is a platform-independent file lock for Python. Fro…7.1
- CVE-2026-112941filelock is a platform-independent file lock for Python. Fro…3.3
- CVE-2026-112942launch-editor allows users to open files with line numbers i…7.5
- CVE-2026-112943launch-editor allows users to open files with line numbers i…6.3
- CVE-2026-112944launch-editor allows users to open files with line numbers i…6.3
- CVE-2026-112946Vite is a frontend tooling framework for JavaScript. Prior t…6.3
- CVE-2026-112947Vite is a frontend tooling framework for JavaScript. From 8.…6.3
- CVE-2026-112948Vitest is a testing framework powered by Vite. From 5.0.0-be…6.5
- CVE-2026-112949Vitest is a Vite-native testing framework for JavaScript and…4.7
- CVE-2026-11295Inappropriate implementation in WebView in Google Chrome on …8.8
- CVE-2026-112950Vitest is a Vite-native testing framework for JavaScript and…5.9
Are you affected by CVE-2026-112945?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
