All vulnerabilities

Servers and applications

GHSA-5r92-qw5m-rwrr

Unbounded array lengths in data parsed from a remote functions `form` enable DoS

Severity
Medium
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
3.4.1
Weakness
Allocation without limits (CWE-770)
Sources
Project advisories (GitHub)

Description

This only affects applications using the experimental remote functions flag and the form remote function. A specially-crafted form submission could produce parsed form data containing arrays with an extremely large length, regardless of the size of the request. Code that iterates over these arrays, such as schema validation or serialization, could then block the event loop for extended periods of time or exhaust the server's memory and crash the process. This happens before the form's handler runs, so no authentication is required.

Upgrade to @sveltejs/kit 3.4.1. Submitted form data can no longer contain more than 1,000 missing array indexes.

From sveltejs/kit's security advisory.

Affected software

SoftwareAffected versions
SvelteKitServers and applications · github:sveltejs/kit
  • From 2.42.0 before 3.4.1

About SvelteKit

web development, streamlined

From its GitHub repository.
Weekly downloads (npm)
5,128,894npm, 22 Nov 2026
GitHub stars
20,926GitHub, 22 Nov 2026
Forks
2,391GitHub, 22 Nov 2026
Latest release
@sveltejs/[email protected]GitHub, 22 Nov 2026
Released
18 Nov 2026GitHub
License
MITGitHub
First published on GitHub
15 Oct 2020GitHub

References