GHSA-866w-xmhq-wj7x: SvelteKit: Prototype pollution in file input deletion path in remote-function forms
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.
Published Jul 24, 2026
Affected packages
@sveltejs/kit
- Ecosystem
- npm
- Affected
- <= 2.69.0
- Fixed in
- 2.69.1
- Check
npm ls @sveltejs/kit
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to iaohkut-from-NightWolf-Team, dummdidumm.
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/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/advisories/GHSA-866w-xmhq-wj7x
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
medium5.3Nov 16, 2026CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
high7.5Nov 16, 2026CVE-2026-128119
SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
medium5.9Nov 16, 2026CVE-2026-128120
SvelteKit: DoS while parsing form data from a remote functions `form`
high7.5Nov 16, 2026CVE-2026-128117
SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames
medium5.9Nov 13, 2026CVE-2026-114060
SvelteKit: URL redirection to untrusted site via enhanced form submission
low4.7Oct 23, 2026
