Packages

@sveltejs/kit

3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @sveltejs/kit From 2.69.3 to 2.70.4

5 releases in betweenevery note read

Other targets from 2.69.3Clears its 7 advisories3.1.1Latest3.3.0

Security

  • Prevent path traversal when previewing prerendered pages and data on Windows

    2.70.4
  • Enable CSRF protection in builds with a non-production NODE_ENV value

    2.70.0

Release by release

  1. 2.70.4

    Security fix5 Nov 20264 fixes
    • Security

      Prevent path traversal when previewing prerendered pages and data on Windows

    • Fixed

      Return a 400 response instead of throwing when reroute rewrites a malformed pathname

    • Fixed

      Escape cache-control headers in prerendered HTML

    • Fixed

      Prevent server-side route resolution from loading code from another origin for pathnames starting with //

    • Fixed

      Prevent server-side self-fetch fallbacks from following redirects

  2. 2.70.3

    18 Aug 20261 fix
    • Fixed

      Avoid eagerly reading $app/state dependencies during module initialization

  3. 2.70.2

    29 Jul 20261 fix
    • Fixed

      Prevent quadratic backtracking in Accept header content negotiation

  4. 2.70.1nothing new or fixed in the note

  5. 2.70.0

    Security fix17 Jul 20261 new
    • Security

      Enable CSRF protection in builds with a non-production NODE_ENV value

    • New

      Move defineEnvVars to @sveltejs/kit/env

1 internal line (docs, tests, tooling) left out.

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.