Vite: Cross origin script execution through Vite custom middleware
影響: npm:vite >= 8.3.0, <= 8.3.2 → 8.3.3, npm:vite >= 8.2.0, <= 8.2.3 → 8.2.4, npm:vite >= 8.0.0, <= 8.1.5 → 8.1.6, npm:vite >= 7.0.0, <= 7.3.6 → 7.3.7, npm:vite <= 6.4.3 → 6.4.4, npm:vite-plus <= 1.0.0 → 1.1.0
When accessing a malicious site while a dev server using Vite is running, that site was able to load scripts in a page served by the dev server. Impact Only apps that match the following conditions are affected: - the dev server passes an unchanged browser request URL to server.transformIndexHtml: this is normally used for server.middlewareMode: true or appType: 'custom'. The internal call for appType: 'spa' and appType: 'mpa' does not match this. - the transformed HTML contains an inli…
| CVE | CVE-2026-112945 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/22 03:28 |
| 数据 | Markdown JSON |
2026/10/22 01:48,GitHub Advisory Database 发布了“Vite: Cross origin script execution through Vite custom middleware”(类型:漏洞公告)。严重程度为“低危”(low)。相关技术:JavaScript / Node.js。CVE:CVE-2026-112945。