Access of Resource Using Incompatible Type ('Type Confusion') Affecting @sveltejs/kit package, versions >=2.49.0 <2.52.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SVELTEJSKIT-15322998
  • published20 Feb 2026
  • disclosed19 Feb 2026
  • creditElliott Johnson

Introduced: 19 Feb 2026

CVE NOT AVAILABLE CWE-843  (opens in a new tab)

How to fix?

Upgrade @sveltejs/kit to version 2.52.2 or higher.

Overview

@sveltejs/kit is a SvelteKit framework and CLI

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') via the remote form deserialization. An attacker can cause the server to become unresponsive and exhaust CPU resources by submitting malformed form data.

Note:

This is only exploitable if both experimental.remoteFunctions and form are enabled.

CVSS Base Scores

version 4.0
version 3.1