Skip to content
OpenAdvisories

Package · npm

@sveltejs/kit

19 known vulnerabilities.

19 results · Feed

  • Medium 4.7

    SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages

    SvelteKit (@sveltejs/kit) before 3.0.0 contains a cross-site scripting vulnerability in prerendered pages because a cache-control header value set via setHeaders is inserted without escaping into a <meta http-equiv="cache-control"> tag. An attacker who can in…

  • Medium 4.7

    SvelteKit before 3.0.0 Open Redirect via Enhanced Form Actions

    SvelteKit (@sveltejs/kit) before 3.0.0 contains an open redirect vulnerability in enhanced form actions (use:enhance) on routes accepting paths beginning with a double slash. Attackers can craft action paths starting with // that become protocol-relative URLs…

  • High 7.5

    SvelteKit before 2.52.2 CPU Exhaustion via Remote Form Deserialization

    SvelteKit (@sveltejs/kit) versions >=2.49.0 and <=2.52.1 with experimental remote functions and form enabled contain a CPU exhaustion vulnerability in form deserialization. An attacker can send malformed form data to cause the server to become unresponsive wh…

  • High 7.5

    SvelteKit before 2.52.2 Memory Exhaustion via Remote Form Deserialization

    SvelteKit (@sveltejs/kit) versions >=2.49.0 and <=2.52.1 with experimental remote functions (experimental.remoteFunctions) and form enabled contain a memory exhaustion vulnerability in remote form deserialization. Malformed form data can cause excessive memor…

  • Medium 5.9

    SvelteKit 2.38.0 before 2.60.1 Cross-User Data Disclosure via query.batch

    SvelteKit versions from 2.38.0 before 2.60.1 contain a race condition in query.batch that allows concurrent requests from different users to merge under a single request context. Attackers can exploit specific timing conditions to access sensitive data from o…

  • High 7.5

    SvelteKit 2.49.0 before 2.53.3 Denial of Service via form

    SvelteKit versions from 2.49.0 through 2.53.2 (fixed in 2.53.3) contain a deserialization expansion issue in the experimental form remote function. When an application enables experimental.remoteFunctions and uses the form function to process the files array …

  • Medium 4.3

    SvelteKit before 2.69.1 Prototype Pollution via File Input

    SvelteKit versions before 2.69.1 contain a prototype pollution vulnerability in remote form functions with file input fields that accept arbitrary user-controlled path names. Attackers can manipulate the deletion path to remove methods on the prototype, poten…

  • Medium 5.3

    SvelteKit before 2.69.1 Denial of Service via Remote Form

    SvelteKit before 2.69.1 fails to properly validate remote form function payload sizes, allowing attackers to crash the Node process by sending large payloads. Repeated exploitation causes denial of service by repeatedly crashing the application process.

  • Medium 5.3

    SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.70.2, the content negotiation header parser used by SvelteKit's request handling (for headers such as Accept) uses a regular expression vulnerable to …

  • Medium 6.3

    SvelteKit's invalidated redirect in handle hook causes Denial-of-Service

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.57.1, redirect, when called from inside the handle server hook with a location parameter containing characters that are invalid in a HTTP header, will…

  • High 8.2

    SvelteKit has a BODY_SIZE_LIMIT bypass in @sveltejs/adapter-node

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.57.1, under certain circumstances, requests could bypass the BODY_SIZE_LIMIT on SvelteKit applications running with adapter-node. This bypass does not…

  • High 8.2

    SvelteKit has a memory amplification DoS in Remote Functions binary form deserializer

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From 2.49.0 to 2.49.4, the experimental form remote function uses a binary data format containing a representation of submitted form data. A specially-crafted pa…

  • High 8.4

    SvelteKit Denial of service and possible SSRF when using prerendering

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.49.5, SvelteKit is vulnerable to a server side request forgery (SSRF) and denial of service (DoS) under certain conditions. From 2.44.0 through 2.49.4…

  • Medium 5.4

    SvelteKit allows XSS via tracked search_params

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.20.6 , unsanitized search param names cause XSS vulnerability. You are affected if you iterate over all entries of event.url.searchParams inside a ser…

  • Low 2.0

    Cross-Site Scripting attack (XSS) on dev mode 404 page in SvelteKit

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. "Unsanitized input from *the request URL* flows into `end`, where it is used to render an HTML page returned to the user. This may result in a Cross-Site Scripti…

  • Low 2.0

    Unescaped error message included on error page in SvelteKit

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. The static error.html template for errors contains placeholders that are replaced without escaping the content first. error.html is the page that is rendered whe…

  • High 7.5

    Sending a GET or HEAD request with a body crashes SvelteKit

    SvelteKit is a web development kit. In SvelteKit 2, sending a GET request with a body eg `{}` to a built and previewed/hosted sveltekit app throws `Request with GET/HEAD method cannot have body.` and crashes the preview/hosting. After this happens, one must m…

  • High 8.8

    SvelteKit framework has Insufficient CSRF protection for CORS requests

    The SvelteKit framework offers developers an option to create simple REST APIs. This is done by defining a `+server.js` file, containing endpoint handlers for different HTTP methods. SvelteKit provides out-of-the-box cross-site request forgery (CSRF) protecti…

  • High 8.8

    SvelteKit has Insufficient Cross-Site Request Forgery Protection

    SvelteKit is a web development framework. The SvelteKit framework offers developers an option to create simple REST APIs. This is done by defining a `+server.js` file, containing endpoint handlers for different HTTP methods. SvelteKit provides out-of-the-box …