CVE-2026-112945
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.672% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 2.1 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:01:35.076Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:01:35.076Z | CVE Program |
| epss | verified | 2026-11-19T18:27:14.840Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:58.234Z | OSV |
| affected | verified | 2026-11-19T12:01:35.076Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:35.076Z | CVE Program |
Affected versions and configuration
vitejs vite; default status: unknown: >= 8.3.0, < 8.3.3 [affected; scheme: unspecified]; >= 8.2.0, < 8.2.4 [affected; scheme: unspecified]; >= 8.0.0, < 8.1.6 [affected; scheme: unspecified]; >= 7.0.0, < 7.3.7 [affected; scheme: unspecified]; < 6.4.4 [affected; scheme: unspecified] vitejs vite-plus; default status: unknown: < 1.1.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
OSV · osv · full conditions
{
"id": "GHSA-9jrq-w75r-8gcw",
"aliases": [
"CVE-2026-112945"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.3.0"
},
{
"fixed": "8.3.3"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9jrq-w75r-8gcw/GHSA-9jrq-w75r-8gcw.json",
"last_known_affected_version_range": "<= 8.3.2"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.2.0"
},
{
"fixed": "8.2.4"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9jrq-w75r-8gcw/GHSA-9jrq-w75r-8gcw.json",
"last_known_affected_version_range": "<= 8.2.3"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.1.6"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9jrq-w75r-8gcw/GHSA-9jrq-w75r-8gcw.json",
"last_known_affected_version_range": "<= 8.1.5"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.3.7"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9jrq-w75r-8gcw/GHSA-9jrq-w75r-8gcw.json",
"last_known_affected_version_range": "<= 7.3.6"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.4.4"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9jrq-w75r-8gcw/GHSA-9jrq-w75r-8gcw.json",
"last_known_affected_version_range": "<= 6.4.3"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vitejs/vite/security/advisories/GHSA-9jrq-w75r-8gcw",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112945",
"type": "ADVISORY"
},
{
"url": "https://github.com/vitejs/vite/pull/23653",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/commit/7dafd8e56f152403a3230608fa4005273c2e9e17",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-80"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-10-20T16:17:05Z",
"github_reviewed_at": "2026-10-21T16:48:14Z"
}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "vitejs",
"product": "vite",
"versions": [
{
"status": "affected",
"version": ">= 8.3.0, < 8.3.3"
},
{
"status": "affected",
"version": ">= 8.2.0, < 8.2.4"
},
{
"status": "affected",
"version": ">= 8.0.0, < 8.1.6"
},
{
"status": "affected",
"version": ">= 7.0.0, < 7.3.7"
},
{
"status": "affected",
"version": "< 6.4.4"
}
]
},
{
"vendor": "vitejs",
"product": "vite-plus",
"versions": [
{
"status": "affected",
"version": "< 1.1.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-112945",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-28T14:10:43.858513Z"
}
}
}
],
"references": [
{
"url": "https://github.com/vitejs/vite/security/advisories/GHSA-9jrq-w75r-8gcw",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-28T14:11:03.638Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 8.3.3 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 8.2.4 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 8.1.6 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 7.3.7 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 6.4.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:01:35.076ZArchived source JSON
Source publication: 2026-10-20T15:00:58.170Z
Source modification: 2026-10-28T14:11:03.638ZDocument fingerprint
d5baa55bf5e56a87a41e51980b29c367ec49398337f6137d620b7362fab8414d - OSVConsulted: 2026-11-19T12:51:58.234ZArchived source JSON
Source publication: 2026-10-21T16:48:14.000Z
Source modification: 2026-10-21T17:00:26.569ZDocument fingerprint
18ee2ac2ac93eab49131193db51d1c75d04979859dfd42d9bef2e8f57776c368 - FIRST EPSSConsulted: 2026-11-19T18:27:14.840ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
b4066597276a246f1b28d2691b0944a52710d594508a6d735886c6a5cfbc89f7 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence