SvelteKit Denial of service and possible SSRF when using prerendering
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@sveltejs/kitnpm | >= 2.19.0, < 2.49.5 | 2.49.5 |
@sveltejs/adapter-nodenpm | >= 5.4.1, < 5.5.1 | 5.5.1 |
Affected products
3- ghsa-coords2 versions
>= 5.4.1, < 5.5.1+ 1 more
- (no CPE)range: >= 5.4.1, < 5.5.1
- (no CPE)range: >= 2.19.0, < 2.49.5
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-j62c-4x62-9r35ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-67647ghsaADVISORY
- github.com/sveltejs/kit/commit/d9ae9b00b14f5574d109f3fd548f960594346226ghsax_refsource_MISCWEB
- github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fadapter-node%405.5.1ghsaWEB
- github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.49.5ghsaWEB
- github.com/sveltejs/kit/security/advisories/GHSA-j62c-4x62-9r35ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.