VDB
KO
MEDIUM 4.3

GHSA-866w-xmhq-wj7x

SvelteKit: Prototype pollution in file input deletion path in remote-function forms

Quick fix

GHSA-866w-xmhq-wj7x — @sveltejs/kit: upgrade to the fixed version with the command below.

npm install @sveltejs/kit@2.69.1

Details

If you use remote form functions, have an input field of type `file`, and accept arbitrary user-controlled path names for the field, then you are vulnerable to a prototype pollution attack where the attacker can remove e.g. methods on the prototype.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / @sveltejs/kit
Introduced in: 0 Fixed in: 2.69.1
Fix npm install @sveltejs/kit@2.69.1

References