Description
In SvelteKit 2 sending a GET request with a body eg {} to a SvelteKit app in preview or with adapter-node throws Request with GET/HEAD method cannot have body. and crashes the app.
TRACE requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected.
<!–
Recommendation
Update the @sveltejs/kit package to the latest compatible version. Followings are version details:
- Affected version(s): >= 2.0.0, < 2.4.3
- Patched version(s): 2.4.3
References
Related Issues
- SvelteKit vulnerable to Cross-Site Request Forgery - CVE-2023-29003
- evershop allows unauthenticated attackers to force server to initiate HTTP request via "GET /images" API - CVE-2025-67427
- Nuxt Icon affected by a Server-Side Request Forgery (SSRF) - CVE-2024-42352
- SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header - CVE-2026-66062
You might also like:
- Tags:
- npm
- @sveltejs/kit
Anything's wrong? Let us know Last updated on January 24, 2024


