GitHub Advisory Database
GHSA-vrhm-gvg7-fpcf
Memory exhaustion in SvelteKit remote form deserialization (experimental only)
Details
Versions of @sveltejs/kit prior to 2.52.2 with remote functions enabled can be vulnerable to memory exhaustion. Malformed form data can cause the server process to crash due to excessive memory allocation, resulting in denial of service.
Only applications using both experimental.remoteFunctions and form are vulnerable.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @sveltejs/kit | From 2.49.0 before 2.52.2 (fixed in 2.52.2) |