GitHub Advisoryadvisory · npm

GHSA-j62c-4x62-9r35 SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering

HIGH Published 2026-01-15 Modified 2026-01-15 Official page ↗
Aliases
CVE-2025-67647
Ecosystem
npm
Packages
@sveltejs/kit, @sveltejs/adapter-node
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:L/SI:L/SA:N
Weaknesses
CWE-248, CWE-400, CWE-918
Reviewed
2026-01-15

Affected packages

• npm @sveltejs/kit: >= 2.19.0, < 2.49.5 → fixed in 2.49.5 • npm @sveltejs/adapter-node: >= 5.4.1, < 5.5.1 → fixed in 5.5.1

Description

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-node` without a configured `ORIGIN` environment 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 • Allam Rachid (zhero;) • Allam Yasser (inzo) • d-xuan (wednesday)

Related

Alias · CVE (1)

  • CVE-2025-67647 SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. vulnerability

Weakness · CWE (3)

  • CWE-248 Uncaught Exception weakness
  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-918 Server-Side Request Forgery weakness

References