Server-side Request Forgery (SSRF) Affecting @sveltejs/adapter-node package, versions >=5.2.15 <5.5.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SVELTEJSADAPTERNODE-14996724
  • published16 Jan 2026
  • disclosed15 Jan 2026
  • creditAllam Rachid, Allam Yasser, d-xuan

Introduced: 15 Jan 2026

CVE-2025-67647  (opens in a new tab)
CWE-248  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @sveltejs/adapter-node to version 5.5.1 or higher.

Overview

@sveltejs/adapter-node is an Adapter for SvelteKit apps that generates a standalone Node server

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to the improper decoding of protocol headers in resolved path. An attacker can cause the server process to terminate or access internal services by sending crafted requests, potentially leading to unauthorized access to internal resources or cache poisoning attacks.

Note:

This is only exploitable if at least one prerendered route is present, and for accessing internal services, the application must use the node adapter without a configured ORIGIN environment variable and lack a reverse proxy with Host header validation.

CVSS Base Scores

version 4.0
version 3.1