Sending a GET or HEAD request with a body crashes SvelteKit
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.4.3, 2.1.2, 3.0.3, 4.0.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: yes
- Technical impact: partial
Summary
SvelteKit is a web development kit. In SvelteKit 2, sending a GET request with a body eg `{}` to a built and previewed/hosted sveltekit app throws `Request with GET/HEAD method cannot have body.` and crashes the preview/hosting. After this happens, one must manually restart the app. `TRACE` requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected. `@sveltejs/adapter-node` versions 2.1.2, 3.0.3, and 4.0.1 and `@sveltejs/kit` version 2.4.3 contain a patch for this issue.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- sveltejs kit
From 2.0.0 · fixed in 2.4.3; From 2.0.0 · fixed in 2.1.2; From 3.0.0 · fixed in 3.0.3
- @sveltejs/kitnpm
From 2.0.0 · fixed in 2.4.3
- @sveltejs/adapter-nodenpm
From 2.0.0 · fixed in 2.1.2
- @sveltejs/adapter-nodenpm
From 3.0.0 · fixed in 3.0.3
- @sveltejs/adapter-nodenpm
From 4.0.0 · fixed in 4.0.1