Vite: Cross origin script execution through Vite custom middleware
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| vitejs | vite | affected |
|
||||||||||||||||||
| vitejs | vite-plus | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Vitejs | Vite |
|
||||||||||||||||||||||||
| Vitejs | Vite-plus |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9jrq-w75r-8gcw | Vite: Cross origin script execution through Vite custom middleware |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.672% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Vitejs
Vitejs vite Vitejs vite-plus |
|
| Vendors & Products |
Vitejs
Vitejs vite Vitejs vite-plus |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Vite: Cross origin script execution through Vite custom middleware | |
| Weaknesses | CWE-80 | |
| References |
| |
| Metrics |
cvssV4_0
|