Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-67647

SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering
Back to all
CVE

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 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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.4
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
9.4
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

Related Resources

No items found.

References

https://github.com/sveltejs/kit/security/advisories/GHSA-j62c-4x62-9r35, https://github.com/sveltejs/kit/commit/d9ae9b00b14f5574d109f3fd548f960594346226, https://github.com/sveltejs/kit, 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

Severity

9.4

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
9.4
EPSS Probability
0.00041%
EPSS Percentile
0.12298%
Introduced Version
2.19.0,5.4.1,5.4.0,2.31.0
Fix Available
2.49.5,5.5.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading