Skip to content
OpenAdvisories
High · 8.3 CVE-2025-62381 EUVD-2025-34681GHSA-hwmc-4c8j-xxj7

sveltekit-superforms Prototype Pollution in `parseFormData` function of `formData.js`

Published Oct 15, 2025 · Updated Oct 15, 2025 · Assigned by GitHub_M

Description

sveltekit-superforms makes SvelteKit forms a pleasure to use. sveltekit-superforms v2.27.3 and prior are susceptible to a prototype pollution vulnerability within the parseFormData function of formData.js. An attacker can inject string and array properties into Object.prototype, leading to denial of service, type confusion, and potential remote code execution in downstream applications that rely on polluted objects. This vulnerability is fixed in 2.27.4.

Affected products

VendorProductAffectedFixed
ciscoheat sveltekit-superforms < 2.27.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm sveltekit-superforms < 2.27.4 2.27.4 GHSA-hwmc-4c8j-xxj7

References