npm package

vite 5.4.21 vulnerabilities, and the version that fixes all of them

vite 5.4.21 has 3 known vulnerabilities (1 rated high or critical); 6.4.3 fixes all of them.

npm (opens in a new tab) describes it as “Native-ESM powered web dev build tool”

Known vulnerabilities
3
1 rated high or critical
Released
Oct 20, 2025
Latest is 8.3.4
Downloads last week
17.7M
9% of vite downloads
Licence
MIT
OpenSSF Scorecard
6.8/10
vitejs/vite (opens in a new tab)
Pulls in
57 packages
Resolved by deps.dev

What to upgrade to

6.4.3 is the closest release with no known vulnerabilities.

  • 6.4.3Upgrade to this

    Fixes all 3 known vulnerabilities. Released Jun 1, 2026.

    No known vulnerabilities
  • 8.3.4

    Latest release. Released Oct 8, 2026.

    No known vulnerabilities

6.4.3 came out on Jun 1, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for vite 5.4.21

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. WarningCVE-2026-39365 on OSV.dev (opens in a new tab)GHSA-4w7w-66w2-5vf9EPSS: top 39%

    Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling

    Fixed in 6.4.2. Published Apr 6, 2026.

  2. CriticalCVE-2026-53571 on OSV.dev (opens in a new tab)GHSA-fx2h-pf6j-xcffEPSS: top 54%

    vite: `server.fs.deny` bypass on Windows alternate paths

    Fixed in 6.4.3. Published Jun 15, 2026.

  3. WarningCVE-2026-53632 on OSV.dev (opens in a new tab)GHSA-v6wh-96g9-6wx3EPSS: top 67%

    launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows

    Fixed in 6.4.3. Published Jun 15, 2026.

Who is still on a vulnerable vite

32% of last week’s 195.3M vite downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is vite the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly vite 5.4.21, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.