Intel

AIKIDO-2025-10718

sveltekit-superforms is vulnerable to Prototype Pollution

Prototype PollutionCVE-2025-62381 Published Oct 16, 2025

70

High Risk

This Affects:

JSsveltekit-superforms
2.0.0 - 2.27.3
Fixed in 2.27.4
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to prototype pollution when using dataType: 'json'. This vulnerability enables an attacker to inject malicious properties into object prototypes by crafting JSON input that includes __proto__, potentially leading to security issues, including remote code execution or denial of service. Before the fix, an attacker could exploit this by sending specially designed data that pollutes the prototype chain, potentially altering the behavior of all objects in the application and enabling further attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

sveltekit-superforms is vulnerable to Prototype Pollution in versions 2.0.0 - 2.27.3.

How to fix this

Upgrade the sveltekit-superforms library to the patch version.