Packages

vite

8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed

Your version

6.0.9

20 Jan 2025Where it was published

6.4.6 is the newest release of 6.x.

Summary· from the note as AI read it

Security fixUpgrade: this release fixes a security issue.

Before you upgrade

  • Add custom hostnames to server.allowedHosts if dev server accessed via non-localhost host
  • Configure server.cors explicitly if cross-origin requests to dev server are needed

Security

  • Upgrade to prevent unauthorized HMR WebSocket connections; check custom HMR clients

In short

2 breaking1 security

  • Breaking

    check host header to prevent DNS rebinding attacks and introduce server.allowedHosts

  • Breaking

    default server.cors: false to disallow fetching from untrusted origins

Security

Fixes 1 advisory that affected 6.0.8

17 advisories affect 6.0.9; 6.4.4 fixes them

12 more

Release note

The section about vite of a note shared by several packages.

Breaking changes

  • Breaking

    Check host header to prevent DNS rebinding attacks and introduce server.allowedHosts

  • Breaking

    Default server.cors: false to disallow fetching from untrusted origins

Bug Fixes

  • Check host header to prevent DNS rebinding attacks and introduce server.allowedHosts

  • Default server.cors: false to disallow fetching from untrusted origins

  • Verify token for HMR WebSocket connection

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.