Skip to content
Fencer Intel
low 2.1

CVE-2026-112945 json

Vite: Cross origin script execution through Vite custom middleware

published 20d ago modified 12d ago also EUVD-2026-105125 , GHSA-9jrq-w75r-8gcw

cvss
2.1
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 52%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm vite 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • npm vite-plus 1.1.0
  • vitejs vite 1.1.0, 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3

Is CVE-2026-112945 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-112945 updated cvss 6.1

vite: vite: Arbitrary script execution via improper URL handling during HTML transformation

  • Red Hat AMQ Broker 7 amq-broker-bin.zip 7.14.1.CR3, amq-broker-maven-repository.zip 7.14.1.CR3
    affected: no fix available “Fix deferred”
  • Red Hat Ansible Automation Platform 2 automation-controller 4.5.37-1.el8ap, automation-platform-ui 2.6.15-1.el9ap, automation-gateway 2.5.20260923-1.el9ap, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9, automation-eda-controller 1.0.10-0.1.20260317.git9cae940.el8ap
    affected: no fix available, no fix planned “Out of support scope”
  • Red Hat Build of Keycloak rhbk-quarkus-dist.zip 26.6.7.CR1, keycloak-operator.redhat-00001.zip 26.6.6, keycloak-operator.redhat-00003.zip 26.6.7 Red Hat Build of Podman Desktop rh-podman-desktop 3c6fc75a2a6cf5bb9b8a667fddcbbf428132badc Red Hat JBoss Enterprise Application Platform 8 jboss-eap-runtime-maven-repository.zip 8.1.2, jboss-eap.1-runtime-maven-repository.zip 8.1.0 Red Hat JBoss Enterprise Application Platform Expansion Pack jboss-eap-runtime-maven-repository.zip 8.1.2, jboss-eap.1-runtime-maven-repository.zip 8.1.0 Red Hat OpenShift AI (RHOAI) rhoai/odh-feature-server-rhel9 Red Hat OpenShift Dev Spaces devspaces/openvsx-rhel9
    +1 more products
    Red Hat Trusted Artifact Signer rhtas/rhtas-console-ui-rhel9
    affected: no fix available “Fix deferred”
  • Red Hat Hardened Images grafana13.2 13.2.3-0.3.hum1, prometheus3.13 3.13.4-0.1.hum1
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
12d ago

Exploit prediction

0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/vitejs/vite/security/advisories/GHSA-9jrq-w75r-8gcw referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 2.1 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CNA 4.0 2.1 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
npm 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
8.3.3
8.2.4
8.1.6
7.3.7
6.4.4
npm vite-plus
<1.1.0
1.1.0

Affected products

  • vitejs vite
  • vitejs vite-plus

Classification

Weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.