Packages

vite

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

Your version

5.4.12

20 Jan 2025Where it was published

5.4.21 is the newest release of 5.x.

In short

2 breaking1 security1 internal

  • Breaking

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

  • Breaking

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

Security

Fixes 1 advisory that affected 5.4.11

16 advisories affect 5.4.12; 6.4.4 fixes them

11 more

Release note

  • Breaking

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

  • Breaking

    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.