CVE-2025-67647: SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering
Summary Versions of SvelteKit are vulnerable to a server side request forgery (SSRF) and denial of service (DoS) under certain conditions. Details Affected versions from 2.44.0 onwards are vulnerable to DoS if: - your app has at least one prerendered route (export const prerender = true) Affected versions from 2.19.0 onwards are vulnerable to DoS and SSRF if: - your app has at least one prerendered route (export…
Published Jan 15, 2026
Affected packages
@sveltejs/kit
- Ecosystem
- npm
- Affected
- >= 2.19.0, <= 2.49.4
- Fixed in
- 2.49.5
- Check
npm ls @sveltejs/kit
@sveltejs/adapter-node
- Ecosystem
- npm
- Affected
- >= 5.4.1, <= 5.5.0
- Fixed in
- 5.5.1
- Check
npm ls @sveltejs/adapter-node
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Versions of SvelteKit are vulnerable to a server side request forgery (SSRF) and denial of service (DoS) under certain conditions.
Details
Affected versions from 2.44.0 onwards are vulnerable to DoS if:
- your app has at least one prerendered route (
export const prerender = true)
Affected versions from 2.19.0 onwards are vulnerable to DoS and SSRF if:
- your app has at least one prerendered route (
export const prerender = true) - AND you are using
adapter-nodewithout a configuredORIGINenvironment variable, and you are not using a reverse proxy that implements Host header validation
Impact
The DoS causes the running server process to end.
The SSRF allows access to internal services that can be reached without authentication when fetched from SvelteKit's server runtime.
It is also possible to obtain an SXSS via cache poisoning, by forcing a potential CDN to cache an XSS returned by the attacker's server (the latter being able to specify the cache-control of their choice).
Credits
Credited to cold-try, teemingc, benmccann, d-xuan.
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-j62c-4x62-9r35
- https://github.com/sveltejs/kit/commit/d9ae9b00b14f5574d109f3fd548f960594346226
- https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fadapter-node%405.5.1
- https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.49.5
- https://nvd.nist.gov/vuln/detail/CVE-2025-67647
- https://github.com/advisories/GHSA-j62c-4x62-9r35
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
medium5.3Nov 16, 2026CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
high7.5Nov 16, 2026CVE-2026-128119
SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
medium5.9Nov 16, 2026CVE-2026-128120
SvelteKit: DoS while parsing form data from a remote functions `form`
high7.5Nov 16, 2026CVE-2026-128117
SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames
medium5.9Nov 13, 2026CVE-2026-128123
SvelteKit: `@sveltejs/adapter-node` crashes when proxying certain requests via `fetch`
medium5.9Nov 13, 2026
