@sveltejs/kit is vulnerable to Prototype Pollution
43
Medium Risk
SvelteKit remote form functions handle deletion of file input fields using an attacker-influenced path. When a file input is removed and the field path contains keys like __proto__, the deletion logic walks into and mutates the object prototype. An attacker submitting a crafted path can pollute or remove properties and methods on shared prototypes, affecting later application behavior. The fix reuses the existing safe property-access mechanism so prototype keys can no longer be traversed.
You are affected if you are using a version that falls within the vulnerable range and you use remote form functions with a file input that accepts arbitrary user-controlled path names.
@sveltejs/kit is vulnerable to Prototype Pollution in versions 2.44.0 - 2.69.0.
Upgrade the @sveltejs/kit library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant