CVE-2025-62381 sveltekit-superforms Prototype Pollution in `parseFormData` function of `formData.js`
HighCVSS 8.3
EPSS 0.73%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm sveltekit-superforms(npm) | < 2.27.4; <= 2.27.3 | 2.27.4 | Fixed |
| ciscoheat sveltekit-superforms | = < 2.27.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm sveltekit-superforms(npm) | <= 2.27.3 | No fix listed |
| ciscoheat sveltekit-superforms | = < 2.27.4 | No fix listed |
| npm sveltekit-superforms(npm) | < 2.27.4 | 2.27.4 |
References
- https://github.com/ciscoheat/sveltekit-superforms/security/advisories/GHSA-hwmc-4c8j-xxj7 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ciscoheat/sveltekit-superforms/commit/4a1310dd1a94176bb22036662c530dad48059ca4 patch
- github.com
- github.com product