CVE-2025-67647
SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering
Overview
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.
Source: OX vulnerability database
Severity
9.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness: CWE-248, CWE-918
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | @sveltejs/adapter-node | >=5.4.1, <5.5.1 | 5.5.1 |
| npm | @sveltejs/kit | >=2.19.0, <2.49.5 | 2.49.5 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/sveltejs/kit
- github.com https://github.com/sveltejs/kit/commit/d9ae9b00b14f5574d109f3fd548f960594346226
- github.com https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fadapter-node%405.5.1
- github.com https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.49.5
- github.com https://github.com/sveltejs/kit/security/advisories/GHSA-j62c-4x62-9r35
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-67647
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.