Vulnerability library
Security checkOctober 15, 2025

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the sveltekit-superforms package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 2.27.3
  • Patched version(s): 2.27.4

References

Could your website be exposed too?

SmartScanner can check your website for `sveltekit-superforms` has Prototype Pollution in `parseFormData` function of `formData.js` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 15, 2025