Repository navigation
Conversation
CVE-2026-128120 is fixed only in @sveltejs/kit 3.1.1. No 2.x release has the fix. - packages/flags: devDependency @sveltejs/kit ^3.1.1. Kit 3 moved the `Handle` type to `@sveltejs/kit/hooks`, so flags/sveltekit now uses a local structural `Handle` type that works with Kit 2 and Kit 3. - apps/docs: devDependency @sveltejs/kit ^3.1.1, so the optional peer chain of @vercel/analytics and other packages resolves to Kit 3. - The SvelteKit e2e app and example stay on Kit 2 (now ^2.70.4). Migrating them to Kit 3 is follow-up work. Fixes EXP-3872 Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Not exploitable. GHSA-3r8g-jcqq-3p5j only affects SvelteKit apps that turn on the experimental remoteFunctions flag and use form, query or command. vercel/flags does not use remote functions: there are no .remote.ts/.remote.js files, no imports from $app/server, and no remoteFunctions config. In packages/flags, @sveltejs/kit is a devDependency used only for types and tests. It is not a dependency or peer dependency of the published package. In apps/docs, Kit is only an optional peer dependency of @vercel/analytics in a Next.js app, and it is never loaded. No 2.x release has the fix (only 3.1.1+ does). |
Fixes EXP-3872 (CVE-2026-128120 / GHSA-3r8g-jcqq-3p5j: DoS while parsing form data from remote functions).
The fix is only in
@sveltejs/kit3.1.1. No 2.x release has it: 2.70.4 does not include the "parse remote form submissions in linear time" commit. The two flagged manifests now resolve Kit 3.4.0.Changes
packages/flags: devDependency@sveltejs/kit^3.1.1. Kit 3 moved theHandletype from@sveltejs/kitto@sveltejs/kit/hooks.flags/sveltekitnow uses a local structuralHandletype, so the type ofcreateHandleworks with Kit 2 and Kit 3. Patch changeset added.apps/docs: devDependency@sveltejs/kit^3.1.1, so the optional peer chain (@vercel/analytics,@vercel/speed-insights,@vercel/microfrontends) resolves to Kit 3. The docs app is Next.js and never loads Kit.pnpm-workspace.yaml:@sveltejs/kit^2.70.2changes to@sveltejs/kit@2^2.70.4.svelte^5.57.1, which Kit 3 needs.Not in this PR
tests/sveltekit-e2eandexamples/sveltekit-examplestay on Kit 2.70.4. Socket did not flag them. Moving them to Kit 3 is a full migration:svelte.config.jsgoes intovite.config.ts,$libbecomes#lib, plus tsconfig changes and adapter-vercel 7.That migration also showed a Kit 3 runtime gap in
flags/sveltekit.$env/static/privatenow only contains the variables the app declares insrc/env.ts, so flags does not findFLAGS_SECRETin a Kit 3 app unless the app declares it. This should be a follow-up.Verification
packages/flags:type-check,build,test(330 passed) andattwpass.tests/sveltekit-e2eandexamples/sveltekit-example:vite buildpasses.svelte-checkgives the same result as onmain(the e2e app already had 2 errors there).🤖 Generated with Claude Code