{"id":"CVE-2024-23641","published":"2024-01-24T16:56:32Z","modified":"2024-11-13T15:09:39Z","title":"Sending a GET or HEAD request with a body crashes SvelteKit","vendor":"sveltejs","product":"kit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00764,"percentile":0.56314,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.26},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"kit","versions":[">= 2.0.0, < 2.4.3",">= 2.0.0, < 2.1.2",">= 3.0.0, < 3.0.3","= 4.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-13T15:09:24.824860Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sveltejs/kit","vulnerableRanges":[">=2.0.0, <2.4.3"],"patched":["2.4.3"],"from":["GHSA-g5m6-hxpp-fc49"],"provenance":"source"},{"ecosystem":"npm","package":"@sveltejs/adapter-node","vulnerableRanges":[">=2.0.0, <2.1.2",">=3.0.0, <3.0.3",">=4.0.0, <4.0.1"],"patched":["2.1.2","3.0.3","4.0.1"],"from":["GHSA-g5m6-hxpp-fc49"],"provenance":"source"}],"summary":{"text":"A flaw in SvelteKit 2's request handling (the kit product, in the server-side request processing of built and previewed or hosted apps) causes the app to throw and crash when it receives a GET or HEAD request with a body, or a TRACE request. An unauthenticated remote attacker with network access can trigger the crash by sending such a request, with no user interaction or special configuration required, and the app must then be manually restarted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:07Z"},"euvd":{"id":"EUVD-2024-0352","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sveltejs-kit-cve-2024-23641","children":[{"from":"CVE-2024-23641","to":"CVE-2026-40073","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/kit/src/exports/node/index.js"],"commits":["https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9","https://github.com/sveltejs/kit/commit/3202ed6c98f9e8d86bf0c4c7ad0f2e273e5e3b95"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-29003","published":"2023-04-04","fixed":"1.15.1","kev":false},{"cve":"CVE-2023-29008","published":"2023-04-06","fixed":"1.15.2","kev":false},{"cve":"CVE-2024-23641","published":"2024-01-24","fixed":"2.4.3","kev":false},{"cve":"CVE-2024-53261","published":"2024-11-25","fixed":"2.8.3","kev":false,"link":{"from":"CVE-2024-23641","to":"CVE-2024-53261","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.4.3","toFixed":"2.8.3","daysApart":306}]}},{"cve":"CVE-2024-53262","published":"2024-11-25","fixed":"2.8.3","kev":false,"link":{"from":"CVE-2024-23641","to":"CVE-2024-53262","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.4.3","toFixed":"2.8.3","daysApart":306}]}},{"cve":"CVE-2025-32388","published":"2025-04-15","fixed":"2.20.6","kev":false}],"package":"npm:@sveltejs/kit"}}