Skip to content

GHSA-fpg4-jhqr-589c SvelteKit has deserialization expansion in unvalidated `form` remote function leading to Denial of Service (experimental only)

LowCVSS 1.7
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
sveltejs @sveltejs/kit(npm) >= 2.49.0, <= 2.53.2 after 2.53.2 Fixed

Affected products

ProductAffected versionsFixed in
sveltejs @sveltejs/kit(npm) >= 2.49.0, <= 2.53.2 No fix listed

References