CVE-2025-67647 SvelteKit Denial of service and possible SSRF when using prerendering
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
5 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| svelte adapter-node | >= 5.4.1, < 5.5.1 | 5.5.1 | Fixed |
| svelte kit | >= 2.19.0, < 2.49.5 | 2.49.5 | Fixed |
| sveltejs @sveltejs/adapter-node(npm) | >= 5.4.1, < 5.5.1; >= 5.4.1, <= 5.5.0 | 5.5.1 | Fixed |
| sveltejs @sveltejs/kit(npm) | >= 2.19.0, < 2.49.5; >= 2.19.0, <= 2.49.4 | 2.49.5 | Fixed |
| sveltejs @sveltejs/kit | = >= 2.19.0, < 2.49.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sveltejs @sveltejs/kit(npm) | >= 2.19.0, <= 2.49.4 | No fix listed |
| sveltejs @sveltejs/adapter-node(npm) | >= 5.4.1, <= 5.5.0 | No fix listed |
| sveltejs @sveltejs/kit | = >= 2.19.0, < 2.49.5 | No fix listed |
| svelte adapter-node | >= 5.4.1, < 5.5.1 | 5.5.1 |
| svelte kit | >= 2.19.0, < 2.49.5 | 2.49.5 |
| sveltejs @sveltejs/kit(npm) | >= 2.19.0, < 2.49.5 | 2.49.5 |
| sveltejs @sveltejs/adapter-node(npm) | >= 5.4.1, < 5.5.1 | 5.5.1 |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-j62c-4x62-9r35 vendor-advisory
- https://github.com/sveltejs/kit/commit/d9ae9b00b14f5574d109f3fd548f960594346226 patch
- github.com
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product