CVE-2026-112945
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Vite: Cross origin script execution through Vite custom middleware
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
vite
- Vendor
- vitejs
- Product
- vite
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| >= 8.3.0, < 8.3.3 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 8.2.0, < 8.2.4 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 8.0.0, < 8.1.6 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 7.0.0, < 7.3.7 | affected | Unavailable | Unavailable | Unavailable | None listed |
| < 6.4.4 | affected | Unavailable | Unavailable | Unavailable | None listed |
vite-plus
- Vendor
- vitejs
- Product
- vite-plus
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| < 1.1.0 | affected | Unavailable | Unavailable | Unavailable | None listed |