Skip to main content

Vitejs

18 CVEs vendor

Monthly

CVE-2026-112942 Oct 20, 14:48 HIGH PATCH GHSA This Week

Path-validation bypass in launch-editor before 2.14.2 on Windows allows unauthenticated remote attackers to pass a crafted file:line:column argument that resolves to an existing parent directory and slips past the library's filename-existence check. The bypass does not by itself execute code; it becomes an OS command injection risk only when chained with the separately described Windows percent-expansion flaw, and exploitation requires user interaction plus a reachable launch-editor-middleware endpoint such as a Vite dev server. No public exploit was identified at time of analysis, and the issue is fixed in 2.14.2.

Windows Command Injection Node.js Microsoft Red Hat +4
NVD GitHub
CVSS 4.0
7.5
EPSS
1.3%
CVE-2025-31125 Mar 31, 17:15 npm MEDIUM POC KEV PATCH THREAT Act Now

Vite is a frontend tooling framework for javascript. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required. Actively exploited in the wild (cisa kev) and public exploit code available.

Information Disclosure Red Hat Vite Vitejs
NVD GitHub
CVSS 3.1
5.3
EPSS
83.3%
Threat
6.6
CVE-2026-112948 Oct 20, 15:15 MEDIUM PATCH GHSA This Month

Vitest dev servers in versions 5.0.0-beta.6 through 5.0.4 misapply Vite's server.fs.deny denylist, letting remote attackers who can reach a Vitest UI, Browser Mode, or API server read project files that should have been blocked and retrieve the fallback API token stored at node_modules/.vitest/.vitest-secret-token. A second variant, requiring Browser Mode with test.projects and a victim visiting an attacker-controlled site, leaks JavaScript-compatible .env values. No public exploit code or active exploitation has been identified at time of analysis, and the practical exposure is limited because these are development-only servers typically bound to localhost; the fix ships in Vitest 5.0.5.

Information Disclosure Red Hat Browser Vitest Vite Plus +3
NVD GitHub
CVSS 3.1
6.5
EPSS
0.4%
CVE-2026-112947 Oct 20, 15:10 MEDIUM PATCH GHSA This Month

A path-traversal information-disclosure flaw in Vite's development server (versions 8.2.0 through 8.2.3 and 8.3.0 through 8.3.2) lets a remote requester read the first 4 bytes of any file on the host filesystem - including files deliberately excluded from server.fs allowed roots, such as .env secrets and private keys - by appending a ?vite-wasm-instance query string to the request path. The internal Wasm plugin's load hook strips the query, reads the target path directly from disk without applying server.fs checks, then fails WebAssembly parsing and leaks the file's leading bytes in the resulting Node/Deno error message. Exploitation requires a network-reachable dev server (localhost-bound by default, so exposure via 0.0.0.0 binding, proxying, or a shared network is a precondition); no public exploit code exists in the provided data and CISA KEV does not list it, while the assessed impact is limited confidentiality loss given only 4 bytes leak per request.

Path Traversal Red Hat Vite Vite Plus Vitejs
NVD GitHub
CVSS 4.0
6.3
EPSS
0.4%
CVE-2026-112946 Oct 20, 15:03 MEDIUM PATCH GHSA This Month

Vite development servers can be induced to serve a single file from outside the project root after import analysis records a root-relative browser URL, rather than the cleaned resolved module identifier, in the internal safeModulePaths trust list. Only non-Windows hosts running a network-accessible dev server (not a production build) are affected, and only when server.fs.deny does not already block the target file; because the colliding path must correspond to a project-relative URL authorized by the application graph, arbitrary path traversal is not achievable and impact is limited to read disclosure with no integrity or availability effect. Exploitation requires the coincidence of an imported project file whose URL matches an absolute host path plus attacker access to the exposed dev server, which the independent assessment scores as higher complexity (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N); no public exploit code was identified at time of analysis.

Path Traversal Red Hat Vite Vite Plus Vitejs
NVD GitHub VulDB
CVSS 4.0
6.3
EPSS
0.9%
CVE-2026-112945 Oct 20, 15:00 LOW PATCH GHSA Monitor

A crafted request URL containing leading double slashes can cause the Vite development server to emit a protocol-relative module URL in transformed HTML, so a victim's browser fetches and executes an attacker-hosted module inside the Vite-served page. Only applications built on custom middleware that forwards an unchanged browser request URL into server.transformIndexHtml are affected, and the exposure is limited to the dev server rather than production builds; the impacted code paths exist in Vite before 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3. There is no public exploit identified at time of analysis and the issue is not in CISA KEV; exploitation additionally requires a victim developer to actively load the malicious page, which keeps real-world risk LOW.

XSS Vite Vite Plus Vitejs
NVD GitHub VulDB
CVSS 4.0
2.1
EPSS
0.5%
CVE-2026-112944 Oct 20, 14:57 MEDIUM PATCH GHSA This Month

Argument injection in launch-editor (prior to 2.14.2), the Node.js 'open file in editor' helper shipped with Vite and vite-plus, allows an unauthenticated attacker who can place a file whose name begins with '+' or '-' into the project working directory to have that name interpreted as a command-line flag by the selected editor. When the reachable editor is Vim/gVim, MacVim, Emacs/Emacsclient, or Notepad++ with a plugin exposing dangerous operations, and the path stays relative (or is converted to a relative WSL path), this can lead to unintended file overwrite or arbitrary command execution in the developer's context. Exploitation is heavily preconditioned - the malicious filesystem entry must already exist, a vulnerable editor must be the configured one, and VS Code or absolute-path invocations are unaffected - so per the independent assessment it is rated AC:H with limited (low) confidentiality, integrity, and availability impact rather than a straightforward RCE; no public exploit code has been identified at time of analysis.

Information Disclosure Node.js Red Hat Vite Vite Plus +2
NVD GitHub VulDB
CVSS 4.0
6.3
EPSS
0.7%
CVE-2026-112943 Oct 20, 14:53 MEDIUM PATCH GHSA This Month

OS command injection on Windows in the launch-editor npm package before 2.14.2 lets remote attackers who can influence an environment variable value or a file path containing '%' trigger cmd.exe variable expansion and execute arbitrary commands when the open-in-editor feature is invoked. The flaw is rated medium severity (CVSS 4.0 base 6.3; CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L) and is limited to Windows developer workstations using Vite or Vite Plus dev-server tooling; no public exploit identified at time of analysis.

Windows Command Injection Node.js Microsoft Red Hat +4
NVD GitHub VulDB
CVSS 4.0
6.3
EPSS
0.4%
CVE-2024-52011 Jun 01, 17:17 npm HIGH POC PATCH GHSA This Week

launch-editor allows users to open files with line numbers in editor from Node.js. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Command Injection Node.js Microsoft Vite Launch Editor +1
NVD VulDB GitHub
CVSS 4.0
7.5
EPSS
0.1%
CVE-2025-58752 Sep 08, 23:15 npm LOW POC PATCH Monitor

Vite is a frontend tooling framework for JavaScript. Rated low severity (CVSS 2.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Vite Vitejs
NVD GitHub VulDB
CVSS 4.0
2.3
EPSS
0.0%
CVE-2025-58751 Sep 08, 23:15 npm LOW POC PATCH Monitor

Vite is a frontend tooling framework for JavaScript. Rated low severity (CVSS 2.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Path Traversal Vite Vitejs
NVD GitHub
CVSS 4.0
2.3
EPSS
1.4%
CVE-2025-46565 May 01, 18:15 npm MEDIUM POC PATCH This Month

Vite is a frontend tooling framework for javascript. Rated medium severity (CVSS 6.0), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Path Traversal Red Hat Vite Vitejs
NVD GitHub
CVSS 4.0
6.0
EPSS
1.5%
CVE-2025-30208 Mar 24, 17:15 npm MEDIUM POC PATCH THREAT This Month

Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required. Public exploit code available and EPSS exploitation probability 89.0%.

Information Disclosure Red Hat Vite Vitejs
NVD GitHub Exploit-DB
CVSS 3.1
5.3
EPSS
89.0%
Threat
5.2
CVE-2025-24010 Jan 20, 16:15 npm MEDIUM POC PATCH This Week

Vite is a frontend tooling framework for javascript. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure Red Hat Vite Vitejs
NVD GitHub
CVSS 3.1
6.5
EPSS
0.1%
CVE-2024-23331 Jan 19, 20:15 npm HIGH POC PATCH This Week

Vite is a frontend tooling framework for javascript. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Microsoft Vite Vitejs
NVD GitHub
CVSS 3.1
7.5
EPSS
0.8%
CVE-2023-49293 Dec 04, 23:15 npm MEDIUM POC PATCH This Month

Vite is a website frontend framework. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

XSS Vite Vitejs
NVD GitHub
CVSS 3.1
6.1
EPSS
1.0%
CVE-2023-34092 Jun 01, 17:15 npm HIGH POC PATCH This Week

Vite provides frontend tooling. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Authentication Bypass Vite Vitejs
NVD GitHub
CVSS 3.1
7.5
EPSS
3.2%
CVE-2022-35204 Aug 18, 19:15 npm MEDIUM POC PATCH This Month

Vitejs Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Vite Vitejs
NVD GitHub
CVSS 3.1
4.3
EPSS
1.1%
EPSS 1% CVSS 7.5
HIGH PATCH This Week

Path-validation bypass in launch-editor before 2.14.2 on Windows allows unauthenticated remote attackers to pass a crafted file:line:column argument that resolves to an existing parent directory and slips past the library's filename-existence check. The bypass does not by itself execute code; it becomes an OS command injection risk only when chained with the separately described Windows percent-expansion flaw, and exploitation requires user interaction plus a reachable launch-editor-middleware endpoint such as a Vite dev server. No public exploit was identified at time of analysis, and the issue is fixed in 2.14.2.

Windows Command Injection Node.js +6
NVD GitHub
EPSS 83% 6.6 CVSS 5.3
MEDIUM POC KEV PATCH THREAT Act Now

Vite is a frontend tooling framework for javascript. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required. Actively exploited in the wild (cisa kev) and public exploit code available.

Information Disclosure Red Hat Vite +1
NVD GitHub
EPSS 0% CVSS 6.5
MEDIUM PATCH This Month

Vitest dev servers in versions 5.0.0-beta.6 through 5.0.4 misapply Vite's server.fs.deny denylist, letting remote attackers who can reach a Vitest UI, Browser Mode, or API server read project files that should have been blocked and retrieve the fallback API token stored at node_modules/.vitest/.vitest-secret-token. A second variant, requiring Browser Mode with test.projects and a victim visiting an attacker-controlled site, leaks JavaScript-compatible .env values. No public exploit code or active exploitation has been identified at time of analysis, and the practical exposure is limited because these are development-only servers typically bound to localhost; the fix ships in Vitest 5.0.5.

Information Disclosure Red Hat Browser +5
NVD GitHub
EPSS 0% CVSS 6.3
MEDIUM PATCH This Month

A path-traversal information-disclosure flaw in Vite's development server (versions 8.2.0 through 8.2.3 and 8.3.0 through 8.3.2) lets a remote requester read the first 4 bytes of any file on the host filesystem - including files deliberately excluded from server.fs allowed roots, such as .env secrets and private keys - by appending a ?vite-wasm-instance query string to the request path. The internal Wasm plugin's load hook strips the query, reads the target path directly from disk without applying server.fs checks, then fails WebAssembly parsing and leaks the file's leading bytes in the resulting Node/Deno error message. Exploitation requires a network-reachable dev server (localhost-bound by default, so exposure via 0.0.0.0 binding, proxying, or a shared network is a precondition); no public exploit code exists in the provided data and CISA KEV does not list it, while the assessed impact is limited confidentiality loss given only 4 bytes leak per request.

Path Traversal Red Hat Vite +2
NVD GitHub
EPSS 1% CVSS 6.3
MEDIUM PATCH This Month

Vite development servers can be induced to serve a single file from outside the project root after import analysis records a root-relative browser URL, rather than the cleaned resolved module identifier, in the internal safeModulePaths trust list. Only non-Windows hosts running a network-accessible dev server (not a production build) are affected, and only when server.fs.deny does not already block the target file; because the colliding path must correspond to a project-relative URL authorized by the application graph, arbitrary path traversal is not achievable and impact is limited to read disclosure with no integrity or availability effect. Exploitation requires the coincidence of an imported project file whose URL matches an absolute host path plus attacker access to the exposed dev server, which the independent assessment scores as higher complexity (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N); no public exploit code was identified at time of analysis.

Path Traversal Red Hat Vite +2
NVD GitHub VulDB
EPSS 0% CVSS 2.1
LOW PATCH Monitor

A crafted request URL containing leading double slashes can cause the Vite development server to emit a protocol-relative module URL in transformed HTML, so a victim's browser fetches and executes an attacker-hosted module inside the Vite-served page. Only applications built on custom middleware that forwards an unchanged browser request URL into server.transformIndexHtml are affected, and the exposure is limited to the dev server rather than production builds; the impacted code paths exist in Vite before 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3. There is no public exploit identified at time of analysis and the issue is not in CISA KEV; exploitation additionally requires a victim developer to actively load the malicious page, which keeps real-world risk LOW.

XSS Vite Vite Plus +1
NVD GitHub VulDB
EPSS 1% CVSS 6.3
MEDIUM PATCH This Month

Argument injection in launch-editor (prior to 2.14.2), the Node.js 'open file in editor' helper shipped with Vite and vite-plus, allows an unauthenticated attacker who can place a file whose name begins with '+' or '-' into the project working directory to have that name interpreted as a command-line flag by the selected editor. When the reachable editor is Vim/gVim, MacVim, Emacs/Emacsclient, or Notepad++ with a plugin exposing dangerous operations, and the path stays relative (or is converted to a relative WSL path), this can lead to unintended file overwrite or arbitrary command execution in the developer's context. Exploitation is heavily preconditioned - the malicious filesystem entry must already exist, a vulnerable editor must be the configured one, and VS Code or absolute-path invocations are unaffected - so per the independent assessment it is rated AC:H with limited (low) confidentiality, integrity, and availability impact rather than a straightforward RCE; no public exploit code has been identified at time of analysis.

Information Disclosure Node.js Red Hat +4
NVD GitHub VulDB
EPSS 0% CVSS 6.3
MEDIUM PATCH This Month

OS command injection on Windows in the launch-editor npm package before 2.14.2 lets remote attackers who can influence an environment variable value or a file path containing '%' trigger cmd.exe variable expansion and execute arbitrary commands when the open-in-editor feature is invoked. The flaw is rated medium severity (CVSS 4.0 base 6.3; CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L) and is limited to Windows developer workstations using Vite or Vite Plus dev-server tooling; no public exploit identified at time of analysis.

Windows Command Injection Node.js +6
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH POC PATCH This Week

launch-editor allows users to open files with line numbers in editor from Node.js. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Command Injection Node.js Microsoft +3
NVD VulDB GitHub
EPSS 0% CVSS 2.3
LOW POC PATCH Monitor

Vite is a frontend tooling framework for JavaScript. Rated low severity (CVSS 2.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Vite Vitejs
NVD GitHub VulDB
EPSS 1% CVSS 2.3
LOW POC PATCH Monitor

Vite is a frontend tooling framework for JavaScript. Rated low severity (CVSS 2.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Path Traversal Vite Vitejs
NVD GitHub
EPSS 1% CVSS 6.0
MEDIUM POC PATCH This Month

Vite is a frontend tooling framework for javascript. Rated medium severity (CVSS 6.0), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Path Traversal Red Hat Vite +1
NVD GitHub
EPSS 89% 5.2 CVSS 5.3
MEDIUM POC PATCH THREAT This Month

Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required. Public exploit code available and EPSS exploitation probability 89.0%.

Information Disclosure Red Hat Vite +1
NVD GitHub Exploit-DB
EPSS 0% CVSS 6.5
MEDIUM POC PATCH This Week

Vite is a frontend tooling framework for javascript. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure Red Hat Vite +1
NVD GitHub
EPSS 1% CVSS 7.5
HIGH POC PATCH This Week

Vite is a frontend tooling framework for javascript. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Microsoft Vite +1
NVD GitHub
EPSS 1% CVSS 6.1
MEDIUM POC PATCH This Month

Vite is a website frontend framework. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

XSS Vite Vitejs
NVD GitHub
EPSS 3% CVSS 7.5
HIGH POC PATCH This Week

Vite provides frontend tooling. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Authentication Bypass Vite Vitejs
NVD GitHub
EPSS 1% CVSS 4.3
MEDIUM POC PATCH This Month

Vitejs Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Vite Vitejs
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy