CVE-2025-67647: SvelteKit Denial of service and possible SSRF when using prerendering

Published Jan 15, 2026
·
Updated

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)

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
npm/@sveltejs/adapter-node>=5.4.1<=5.5.0
5.5.1
npm/@sveltejs/kit>=2.19.0<=2.49.4
2.49.5
svelte Adapter-node Node.js>=5.4.1<5.5.1
svelte Kit Node.js>=2.19.0<2.49.5

Event History

Jan 15, 2026
Advisory Published
via GitHub·06:09 PM
Data Sourced
via GitHub·06:09 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·06:33 PM
Data Sourced
via MITRE·06:33 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What are the impacts of CVE-2025-67647?

CVE-2025-67647 can lead to denial of service (DoS) and server side request forgery (SSRF) under specific conditions.

2

Which versions of SvelteKit are affected by CVE-2025-67647?

Versions of SvelteKit from 2.44.0 onwards are affected by CVE-2025-67647.

3

What is the recommended fix for CVE-2025-67647?

The recommended fix for CVE-2025-67647 is to update to version 5.5.1 of @sveltejs/adapter-node or version 2.49.5 of @sveltejs/kit.

4

Can I continue using the affected versions for my project with CVE-2025-67647?

It is not advisable to continue using the affected versions with CVE-2025-67647 due to the associated security risks.

5

How does CVE-2025-67647 potentially affect web applications?

CVE-2025-67647 can allow attackers to perform SSRF attacks, potentially exposing sensitive data or causing outages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203