Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-112945

published low CVSS 4.0 · 2.1

Vite: Cross origin script execution through Vite custom middleware

Published
20 Oct 2026, 15:00:58 UTC
Updated
28 Oct 2026, 14:11:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vitejs — 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 Affected Not stated GitHub_M
vitejs — vite-plus< 1.1.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
2.1 / 10
Severity
low
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
vitejs vite >= 8.3.0, < 8.3.3 (affected)>= 8.2.0, < 8.2.4 (affected)>= 8.0.0, < 8.1.6 (affected)>= 7.0.0, < 7.3.7 (affected)< 6.4.4 (affected) GitHub_M · cna
vitejs vite-plus < 1.1.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

Vite: Cross origin script execution through Vite custom middleware

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d5baa55bf5e56a87a41e51980b29c367ec49398337f6137d620b7362fab8414d
Ingested
28 Oct 2026, 14:20:54 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected