GitHub Advisory Database
GHSA-866w-xmhq-wj7x
SvelteKit: Prototype pollution in file input deletion path in remote-function forms
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @sveltejs/kit | All versions before 2.69.1 (fixed in 2.69.1) |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-866w-xmhq-wj7x
- https://github.com/sveltejs/kit/pull/16218
- https://github.com/sveltejs/kit/commit/df32f6fe86cdd0b68b650e3e4631e5896453dcd3
- https://github.com/sveltejs/kit
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]