8.4High

CVE-2025-67647SvelteKit Denial of service and possible SSRF when using prerendering

sveltejs kit Published: (10 months ago)

Description

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. This vulnerability is fixed in 2.49.5.

Weakness (CWE): CWE-248CWE-918

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
svelte adapter-node 5.4.1 – < 5.5.1
svelte kit 2.19.0 – < 2.49.5
sveltejs kit >= 2.19.0, < 2.49.5

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:* ≥ 5.4.1 < 5.5.1
  • cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:* ≥ 2.19.0 < 2.49.5