Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @sveltejs/kit
  4. ›
  5. GHSA-866w-xmhq-wj7x

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

July 24, 2026

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.

References

  • github.com/advisories/GHSA-866w-xmhq-wj7x
  • github.com/sveltejs/kit/commit/df32f6fe86cdd0b68b650e3e4631e5896453dcd3
  • github.com/sveltejs/kit/pull/16218
  • github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.69.1
  • github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.0.0-next.7
  • github.com/sveltejs/kit/security/advisories/GHSA-866w-xmhq-wj7x

Code Behaviors & Features

Detect and mitigate GHSA-866w-xmhq-wj7x with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.69.1

Fixed versions

  • 2.69.1

Solution

Upgrade to version 2.69.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@sveltejs/kit/GHSA-866w-xmhq-wj7x.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:23 +0000.