CVE-2025-62381
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.
CWE
- CWE-1321 — CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected
- ciscoheat / sveltekit-superforms — v=< 2.27.4 [affected]
CVSS
- 4.0 score=8.3 severity=HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L
References
- https://github.com/ciscoheat/sveltekit-superforms/security/advisories/GHSA-hwmc-4c8j-xxj7 x_refsource_CONFIRM
- https://github.com/ciscoheat/sveltekit-superforms/commit/4a1310dd1a94176bb22036662c530dad48059ca4 x_refsource_MISC
Source
cvelistV5-main/cves/2025/62xxx/CVE-2025-62381.json