Vulnerabilities · 2024 · Svelte
CVE-2024-23641
Svelte Adapter-node vulnerability
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.
Affected products
Adapter-node, Kit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Svelte Adapter-node runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49 · Exploit
- github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-23641
- github.com/advisories/GHSA-g5m6-hxpp-fc49
- nvd.nist.gov/vuln/detail/CVE-2024-23641
- cve.org/CVERecord?id=CVE-2024-23641
More vulnerabilities in Svelte products
CVE-2026-22803CVE-2026-22775CVE-2026-22774CVE-2025-67647CVE-2025-15265CVE-2024-53262CVE-2024-53261CVE-2024-45047All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.