Sending a GET or HEAD request with a body crashes SvelteKit - @sveltejs/adapter-node
- Severity:
- High
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/adapter-node package to the latest compatible version. Followings are version details:
Affected version(s): **= 4.0.0 >= 3.0.0, < 3.0.3 >= 2.0.0, < 2.1.2** Patched version(s): **4.0.1 3.0.3 2.1.2**
References
Related Issues
- Sending a GET or HEAD request with a body crashes SvelteKit - CVE-2024-23641
- SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering - @sveltejs/adapter-node - CVE-2025-67647
- @sveltejs/adapter-node has a BODY_SIZE_LIMIT bypass - CVE-2026-40073
- Server crashes on invalid Cloud Function or Cloud Job name - CVE-2024-29027
You might also like:
- Tags:
- npm
- @sveltejs/adapter-node
Anything's wrong? Let us know Last updated on January 24, 2024


