@sveltejs/kit
3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed
3.4.0 is the newest release of 3.x.
In short
2 security9 fixed
Security
Fixes 5 advisories that affected 3.1.0
- HighSvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundleGHSA-m9j8-jcmv-hp69 · 16 Nov 2026Fixed in 3.1.1
- HighSvelteKit: DoS while parsing form data from a remote functions `form`GHSA-3r8g-jcqq-3p5j · 16 Nov 2026Fixed in 3.1.1
- ModerateSvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinationsGHSA-6cf5-gc4q-fm3x · 16 Nov 2026Fixed in 3.1.1
- ModerateSvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script executionGHSA-rqp5-r3wg-vg35 · 16 Nov 2026Fixed in 3.1.1
- ModerateSvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnamesGHSA-mw6w-2fmv-pvw3 · 13 Nov 2026Fixed in 3.1.1
Release note
Patch Changes
Return a 400 response instead of throwing when
rerouterewrites a malformed pathnameRestore function snapshots on reload when SSR is disabled
Prevent separate non-exported
query.batchfunctions from sharing a batchReuse the original
fetchacross dev server reloadsAvoid adding a file watcher while loading
src/envParse remote form submissions in linear time
Prevent server-side route resolution from loading code from another origin for pathnames starting with
//Preserve service worker sourcemaps when injecting env
Prevent server-only modules from being imported into browser code via
src/params.jsAvoid injecting a non-serializable TypeScript config callback by default
Report actionable errors for remote modules in server-only locations
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.