CVE-2025-67647: @sveltejs/kit Denial of Service Vulnerability
HIGHCVE-2025-67647 is a HIGH denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting @sveltejs/kit libraries in the npm ecosystem. The issue involves sveltekit is vulnerable to denial of service and possible ssrf when using prerendering. Remediation is available by upgrading affected packages to version 2.49.5, 5.5.1.
CVE-2025-67647 at a Glance
How to Fix CVE-2025-67647
To remediate this vulnerability, upgrade all affected @sveltejs/kit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @sveltejs/kit@2.49.5
npm install @sveltejs/adapter-node@5.5.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @sveltejs/kit
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-67647, inspect your project dependencies using npm:
npm ls @sveltejs/kit
Analyze the terminal output to locate any version of @sveltejs/kit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.49.5), your application is affected.
Note: The npm ls @sveltejs/kit command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In @sveltejs/kit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67647 Affected @sveltejs/kit Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@sveltejs/kit
|
npm |
≥ 2.19.0
< 2.49.5
|
2.49.5
|
|
@sveltejs/adapter-node
|
npm |
≥ 5.4.1
< 5.5.1
|
5.5.1
|
References
Frequently Asked Questions
What is CVE-2025-67647?
Which @sveltejs/kit versions are affected?
What version fixes CVE-2025-67647?
Is @sveltejs/kit affected?
Is @sveltejs/adapter-node affected?
What CWE is associated with CVE-2025-67647?
How can I check npm dependencies for CVE-2025-67647?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j62c-4x62-9r35",
"modified" : "2026-01-15T22:33:31Z",
"published" : "2026-01-15T18:09:59Z",
"aliases" : [ "CVE-2025-67647" ],
"summary" : "SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering",
"details" : "### Summary\n\nVersions of SvelteKit are vulnerable to a server side request forgery (SSRF) and denial of service (DoS) under certain conditions.\n\n### Details\n\nAffected versions from 2.44.0 onwards are vulnerable to DoS if:\n\n- your app has at least one prerendered route (`export const prerender = true`)\n\nAffected versions from 2.19.0 onwards are vulnerable to DoS and SSRF if:\n\n- your app has at least one prerendered route (`export const prerender = true`)\n- 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\n\n### Impact\n\nThe DoS causes the running server process to end.\n\nThe SSRF allows access to internal services that can be reached without authentication when fetched from SvelteKit's server runtime.\n\nIt 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).\n\n### Credits\n- Allam Rachid ([zhero;](https://zhero-web-sec.github.io/research-and-things/))\n- Allam Yasser (inzo)\n- d-xuan ([wednesday](https://d-xuan.github.io/wednesday/))",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@sveltejs/kit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.19.0"
}, {
"fixed" : "2.49.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.49.4"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@sveltejs/adapter-node"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.4.1"
}, {
"fixed" : "5.5.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.5.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sveltejs/kit/security/advisories/GHSA-j62c-4x62-9r35"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67647"
}, {
"type" : "WEB",
"url" : "https://github.com/sveltejs/kit/commit/d9ae9b00b14f5574d109f3fd548f960594346226"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sveltejs/kit"
}, {
"type" : "WEB",
"url" : "https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fadapter-node%405.5.1"
}, {
"type" : "WEB",
"url" : "https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.49.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248", "CWE-400", "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-15T18:09:59Z",
"nvd_published_at" : "2026-01-15T19:16:03Z"
}
}