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
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-866w-xmhq-wj7x [WEB]
- https://github.com/sveltejs/kit/pull/16218 [WEB]
- https://github.com/sveltejs/kit/commit/df32f6fe86cdd0b68b650e3e4631e5896453dcd3 [WEB]
- https://github.com/sveltejs/kit [PACKAGE]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.69.1 [WEB]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.0.0-next.7 [WEB]