CVE-2026-112945
Reported by GitHub_M · Published October 20, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| vitejs | vite | >= 8.3.0, < 8.3.3, >= 8.2.0, < 8.2.4, >= 8.0.0, < 8.1.6 |
| vitejs | vite-plus | < 1.1.0 |
| vitejs | vite | 7.0.0, 0, 8.3.0 |
| chainguard | kubeflow-pipelines | 0 |
| chainguard | gitlab-rails-ce-19.5 | 0 |
| vitejs | vite-plus | 0 |
| chainguard | nextcloud-server-35 | 0 |
| npm | vite-plus | 0 |
| chainguard | nextcloud-server-34 | 0 |
| chainguard | gitlab-rails-ce-fips-19.2 | 0 |
| chainguard | langfuse-4 | 0 |
| npm | vite | 0, 7.0.0, 8.0.0 |
| wolfi | kubeflow-pipelines | 0 |
| chainguard | langfuse-fips-4 | 0 |
| npm | vite |
Timeline
- Oct 20, 2026 Coalition ESS Score
- Oct 20, 2026 CVE Published
- Oct 21, 2026 CVE Updated
- Oct 21, 2026 EPSS Score
- Oct 24, 2026 EPSS Score
- Oct 24, 2026 Security Advisory
- Oct 25, 2026 EPSS Score
References
- https://github.com/vitejs/vite/security/advisories/GHSA-9jrq-w75r-8gcw x_refsource_CONFIRM
- https://github.com/vitejs/vite/pull/23653 x_refsource_MISC
- https://github.com/vitejs/vite/commit/7dafd8e56f152403a3230608fa4005273c2e9e17 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-112945 advisory
- https://github.com/advisories/GHSA-9jrq-w75r-8gcw advisory