Skip to content

← Public intelligence

npm package

@sveltejs/adapter-node

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.4npmAmendedPublished

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

    CVE-2025-67647 · GHSA-j62c-4x62-9r35

    Affected
    • npm @sveltejs/adapter-node >= 5.4.1, <= 5.5.0
    Fixed in
    5.5.1· Vendor fix available
    Issue
    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).…

    Recommended action: Upgrade to 5.5.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 7.5npmAmendedPublished

    Sending a GET or HEAD request with a body crashes SvelteKit

    CVE-2024-23641 · GHSA-g5m6-hxpp-fc49

    Affected
    • npm @sveltejs/adapter-node >= 2.0.0, < 2.1.2; >= 3.0.0, < 3.0.3; >= 4.0.0, <= 4.0.0
    Fixed in
    2.1.23.0.34.0.1· Vendor fix available
    Issue
    In SvelteKit 2 sending a GET request with a body eg {} to a SvelteKit app in preview or with adapter-node throws Request with GET/HEAD method cannot have body. and crashes the app. TRACE requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected. <!-- Details Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer. -- PoC <!-- Complete instructions, including specific configuration details, to reproduce the vulnerability. -- First do a fresh install of SvelteKit 2 with the example app. Typescript. 1. npm run build 2. npm run preview 3. Go to http://localhost:4173 (works) 4. curl -X GET -d "{}" http://localhost:4173/bye 5. Application crashes and http://localhost:4173 is down Impact <!-- What kind of vulnerability is it? Who is impacted? -- Denial of Service for apps using adapter-node

    Recommended action: Upgrade to 4.0.1, 3.0.3 or 2.1.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →