p PatchFirst

PatchFirst · Latest vulnerabilities

vite vulnerabilities · Page 2

Vulnerabilities published for vite in the last 30 days: 6. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 28

  1. CVE-2025-24010

    Medium · CVSS 6.5EPSS 0.29%Fix available

    Vite allows any websites to send any requests to the development server and read the response

    Vite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response due to default CORS settings and lack of validation on the Origin header for WebSocket connections. This vulnerability is fixed in 6.0.9, 5.4.12, and 4.5.6.

    • Update to 4.5.6
    • Update to 5.4.12
    • Update to 6.0.9
    Published Updated
  2. CVE-2024-45812

    Medium · CVSS 6.4EPSS 0.64%Fix available

    DOM Clobbering gadget found in vite bundled scripts that leads to XSS in Vite

    Vite a frontend build tooling framework for javascript. Affected versions of vite were discovered to contain a DOM Clobbering vulnerability when building scripts to `cjs`/`iife`/`umd` output format. The DOM Clobbering gadget in the module can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present. DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script, seemingly benign HTML markups in the webpage (e.g. through a post or comment) and leverages the gadgets (pieces of js code) living in the ex

    • Update to 3.2.11
    • Update to 4.5.4
    • Update to 5.1.8
    • Update to 5.2.14
    • Update to 5.3.6
    • Update to 5.4.6
    Published Updated
  3. CVE-2024-45811

    Medium · CVSS 4.8EPSS 1.1%Fix available

    server.fs.deny bypassed when using ?import&raw in vite

    Vite a frontend build tooling framework for javascript. In affected versions the contents of arbitrary files can be returned to the browser. `@fs` denies access to files outside of Vite serving allow list. Adding `?import&raw` to the URL bypasses this limitation and returns the file content if it exists. This issue has been patched in versions 5.4.6, 5.3.6, 5.2.14, 4.5.5, and 3.2.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Update to 3.2.11
    • Update to 4.5.4
    • Update to 5.1.8
    • Update to 5.2.14
    • Update to 5.3.6
    • Update to 5.4.6
    Published Updated
  4. CVE-2024-31207

    Medium · CVSS 5.9EPSS 0.71%Fix available

    Vite's `server.fs.deny` did not deny requests for patterns with directories

    Vite (French word for "quick", pronounced /vit/, like "veet") is a frontend build tooling to improve the frontend development experience.`server.fs.deny` does not deny requests for patterns with directories. This vulnerability has been patched in version(s) 5.2.6, 5.1.7, 5.0.13, 4.5.3, 3.2.10 and 2.9.18.

    • Update to 2.9.18
    • Update to 3.2.10
    • Update to 4.5.3
    • Update to 5.0.13
    • Update to 5.1.7
    • Update to 5.2.6
    Published Updated
  5. CVE-2024-23331

    High · CVSS 7.5EPSS 0.78%Fix available

    Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem

    Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue h

    • Update to 2.9.17
    • Update to 3.2.8
    • Update to 4.5.2
    • Update to 5.0.12
    Published Updated
  6. CVE-2023-49293

    Medium · CVSS 6.1EPSS 1%Public exploitFix available

    Cross-site Scripting in `server.transformIndexHtml` via URL payload in vite

    Vite is a website frontend framework. When Vite's HTML transformation is invoked manually via `server.transformIndexHtml`, the original request URL is passed in unmodified, and the `html` being transformed contains inline module scripts (`<script type="module">...</script>`), it is possible to inject arbitrary HTML into the transformed output by supplying a malicious URL query string to `server.transformIndexHtml`. Only apps using `appType: 'custom'` and using the default Vite HTML middleware are affected. The HTML entry must also contain an inline script. The attack requires a user to click on a malicious URL while running the dev server. Re

    • Update to 4.4.12
    • Update to 4.5.1
    • Update to 5.0.5
    Published Updated
  7. CVE-2023-34092

    High · CVSS 7.5EPSS 3.15%Public exploitFix available

    Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)

    Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in [email protected], [email protected], [email protected], [email protected], [email protected], and [email protected]

    • Update to 2.9.16
    • Update to 3.2.7
    • Update to 4.0.5
    • Update to 4.1.5
    • Update to 4.2.3
    • Update to 4.3.9
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →