2.1

CVE-2026-112945: Vite: Cross origin script execution through Vite custom middleware

Awaiting analysis
AliasesGHSA-9jrq-w75r-8gcwCGA-5gm6-2m2h-mcr3CGA-c3rc-vxv8-wrfr
Published 20-10-2026Last modified 28-10-2026

Vulnerability summary

CVE-2026-112945 is a low (CVSS 2.1) vulnerability in vitejs vite. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 53.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.1/10
010
Low · v4.0 (CVE.org)
EPSS score
0.67%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-10-2026
    PublishedVulnerability first disclosed.
  2. 28-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.67%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.67% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard15 products
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded) | < 18.11.13-r0
  • gitlab-rails-ce-18.8All versions (No fix recorded)
  • gitlab-rails-ce-18.9All versions (No fix recorded)
  • gitlab-rails-ce-19.0All versions (No fix recorded) | < 19.0.10-r0
Npm2 products
  • 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
  • vite-plus< 1.1.0
Vitejs2 products
  • 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
  • vite-plus< 1.1.0
Ubuntu1 product
  • viteAll versions (No fix recorded)
Wolfi1 product
  • kubeflow-pipelines-frontendAll versions (No fix recorded) | < 2.17.2-r16

5 vendors · 21 products

References

12 links
Show all 12 references