p PatchFirst

PatchFirst · Latest vulnerabilities

@sveltejs/kit vulnerabilities

Vulnerabilities published for @sveltejs/kit in the last 30 days: 2. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 19

  1. CVE-2026-114061

    Low · CVSS 2.3EPSS 0.21%Fix available

    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 influence that untrusted value at prerender time can break out of the content attribute and inject HTML or JavaScript that executes when users visit the page.

    • Update to 3.0.0
    Published Updated
  2. CVE-2026-114060

    Low · CVSS 2.1EPSS 0.2%Fix available

    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, causing non-redirect form results to navigate victims to attacker-controlled sites.

    • Update to 3.0.0
    Published Updated
  3. CVE-2026-82261

    High · CVSS 8.7EPSS 0.49%Fix available

    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 while processing the request, resulting in denial of service. Fixed in 2.52.2.

    • Update to 2.52.2
    Published Updated
  4. CVE-2026-82260

    High · CVSS 8.7EPSS 0.49%Fix available

    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 memory allocation, crashing the server process and resulting in denial of service. Fixed in 2.52.2.

    • Update to 2.52.2
    Published Updated
  5. CVE-2026-82259

    High · CVSS 8.7EPSS 0.53%Fix available

    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 without validating files.length or individual file sizes, an attacker can submit relatively small inputs that expand into very large file arrays, leading to expensive processing and denial of service.

    • Update to 2.53.3
    Published Updated
  6. CVE-2026-82258

    Medium · CVSS 5.9EPSS 0.24%Fix available

    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 other users' concurrent requests.

    • Update to 2.60.1
    Published Updated
  7. CVE-2026-82257

    Medium · CVSS 5.3EPSS 0.36%Fix available

    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, potentially disabling application functionality.

    • Update to 2.69.1
    Published Updated
  8. CVE-2026-82256

    Medium · CVSS 6.9EPSS 0.42%Fix available

    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.

    • Update to 2.69.1
    Published Updated
  9. CVE-2026-66062

    Medium · CVSS 5.3EPSS 0.51%Fix available

    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 quadratic backtracking, so a maliciously crafted header value can cause excessive CPU consumption and degrade or deny service. Version 2.70.2 fixes the issue.

    • Update to 2.70.2
    Published Updated
  10. CVE-2026-40074

    Medium · CVSS 6.3EPSS 0.37%Fix available

    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 cause an unhandled TypeError. This could result in DoS on some platforms, especially if the location passed to redirect contains unsanitized user input. This vulnerability is fixed in 2.57.1.

    • Update to 2.57.1
    Published Updated
  11. CVE-2026-40073

    High · CVSS 8.2EPSS 0.54%Fix available

    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 affect body size limits at other layers of the application stack, so limits enforced in the WAF, gateway, or at the platform level are unaffected. This vulnerability is fixed in 2.57.1.

    • Update to 2.57.1
    Published Updated
  12. CVE-2026-22803

    High · CVSS 8.2EPSS 0.59%Fix available

    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 payload can cause the server to allocate a large amount of memory, causing DoS via memory exhaustion. This vulnerability is fixed in 2.49.5.

    • Update to 2.49.5
    Published Updated
  13. CVE-2025-67647

    High · CVSS 8.4EPSS 0.52%Fix available

    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, the vulnerability results in a DoS when your app has at least one prerendered route (export const prerender = true). From 2.19.0 through 2.49.4, the vulnerability results in a DoS when your app has at least one prerendered route and you are using adapter-node without a configured ORIGIN environment variable, and you are not using a reverse proxy that implements Host header validation. T

    • Update to 2.49.5
    Published Updated
  14. CVE-2025-32388

    Medium · CVSS 5.4EPSS 0.3%Fix available

    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 server load function. Attackers can exploit it by crafting a malicious URL and getting a user to click a link with said URL. This vulnerability is fixed in 2.20.6.

    • Update to 2.20.6
    Published Updated
  15. CVE-2024-53261

    Low · CVSS 2EPSS 0.33%Fix available

    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 Scripting attack (XSS)." The files `packages/kit/src/exports/vite/dev/index.js` and `packages/kit/src/exports/vite/utils.js` both contain user controllable data which under specific conditions may flow to dev mode pages. There is little to no expected impact. The Vite development is not exposed to the network by default and even if someone were able to trick a developer into executing an XSS aga

    • Update to 2.8.3
    Published Updated
  16. CVE-2024-53262

    Low · CVSS 2EPSS 0.48%Fix available

    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 when everything else fails. It can contain the following placeholders: %sveltekit.status% — the HTTP status, and %sveltekit.error.message% — the error message. This leads to possible injection if an app explicitly creates an error with a message that contains user controlled content. Only applications where user provided input is used in the `Error` message will be vulnerable, so the vast m

    • Update to 2.8.3
    Published Updated
  17. CVE-2024-23641

    High · CVSS 7.5EPSS 0.76%Fix available

    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 manually restart the app. `TRACE` requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected. `@sveltejs/adapter-node` versions 2.1.2, 3.0.3, and 4.0.1 and `@sveltejs/kit` version 2.4.3 contain a patch for this issue.

    • Update to 2.4.3
    Published Updated
  18. CVE-2023-29008

    High · CVSS 8.8EPSS 0.37%Fix available

    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) protection to its users. The protection is implemented at `kit/src/runtime/server/respond.js`. While the implementation does a sufficient job of mitigating common CSRF attacks, the protection can be bypassed in versions prior to 1.15.2 by simply specifying an upper-cased `Content-Type` header value. The browser will not send uppercase characters, but this check does not block all expected CORS r

    • Update to 1.15.2
    Published Updated
  19. CVE-2023-29003

    High · CVSS 8.8EPSS 0.56%Fix available

    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 cross-site request forgery (CSRF) protection to its users. While the implementation does a sufficient job in mitigating common CSRF attacks, prior to version 1.15.1, the protection can be bypassed by simply specifying a different `Content-Type` header value. If abused, this issue will allow malicious requests to be submitted from third-party domains, which can allow execution of operati

    • Update to 1.15.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →