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
Could your website be exposed too?
SmartScanner can check your website for Sending a GET or HEAD request with a body crashes SvelteKit and gives you actionable findings to investigate.
Start a free scanRelated Issues
- SvelteKit vulnerable to Cross-Site Request Forgery - CVE-2023-29003
- SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering - CVE-2025-67647
- Strapi allows Server-Side Request Forgery in Webhook function - CVE-2024-52588
- Nuxt Icon affected by a Server-Side Request Forgery (SSRF) - CVE-2024-42352


