low1.7No CVE yet
GHSA-fpg4-jhqr-589c
SvelteKit has deserialization expansion in unvalidated `form` remote function leading to Denial of Service (experimental only)
Impact
Some relatively small inputs can cause very large files arrays in `form` handlers. If the SvelteKit application code doesn't check `files.length` or individual files' sizes and performs expensive processing with them, it can result in Denial of Service. Only users with `experimental.remoteFunctions: true` who are using the `form` function and are processing the `files` array without validation are vulnerable.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @sveltejs/kit | >= 2.49.0, <= 2.53.2 | 2.53.3 |