GitHub Advisoryadvisory · npm

GHSA-866w-xmhq-wj7x SvelteKit: Prototype pollution in file input deletion path in remote-function forms

MEDIUM Published 2026-07-24 Modified 2026-07-24 Official page ↗
Ecosystem
npm
Packages
@sveltejs/kit
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Weaknesses
CWE-1321
Reviewed
2026-07-24

Affected packages

• npm @sveltejs/kit: < 2.69.1 → fixed in 2.69.1

Description

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.

Related

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References