@sveltejs/kit
3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed
2.70.4 is the newest release of 2.x.
In short
2 new16 fixed
Security
9 advisories affect 2.66.0; 3.1.1 fixes the others
- 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 2.70.4
- ModerateSvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnamesGHSA-mw6w-2fmv-pvw3 · 13 Nov 2026Fixed in 2.70.4
- ModerateSvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept headerGHSA-29g2-3rmr-qm68 · 7 Aug 2026Fixed in 2.70.2
4 more
- ModerateSvelteKit: Prototype pollution in file input deletion path in remote-function formsGHSA-866w-xmhq-wj7x · 24 Jul 2026Fixed in 2.69.1
- ModerateSvelteKit: Big remote form function payloads can cause Node process to crashGHSA-wqjv-9729-c5q2 · 24 Jul 2026Fixed in 2.69.1
- LowSvelteKit: URL redirection to untrusted site via enhanced form submissionGHSA-pfhg-q3qv-9q6r · 23 Oct 2026No fix yet
- LowSvelteKit : XSS via untrusted cache-control header in prerendered pageGHSA-27mw-82g8-phjj · 23 Oct 2026No fix yet
Release note
Minor Changes
Precompress prerendered
.mdand.mdxfilesWarn the user when they forget to make boolean inputs optional in their form schemas
Patch Changes
Blur active element before component update during navigation so that blur/focusout handlers fire while old component data is still valid
Ensure
baseis available from$service-workerduring developmentUse correct relative asset paths when rendering an error page for a missing
__data.jsonrequestPreserve active
for awaitconsumers acrossquery.livereconnectsSettle
query.livereconnect promise on all exit paths, preventinginvalidateAll()from deadlocking when a live query is offline or interruptedPreserve last value when a
query.livestream completes without yielding on reconnectRemove
types: ['node']from generated tsconfig to avoid errors when@types/nodeis not installedPrefer pages over endpoints when prerendering
Restore snapshots after afterNavigate callbacks
Support
ws:/wss:andtrusted-types-evalfor CSP sourcesOmit empty
fileinputs from remote form dataFail early if a route with
+pageand+serveris marked as prerenderableWait a tick before resetting forms
preflightschemas apply correctly when chained beforeforBlank page in SPA mode when root layout
load()throwsPass all unknown options from the
sveltekitVite plugin through tovite-plugin-svelte
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.