Skip to main content

SvelteKit CVE-2026-128121

| EUVDEUVD-2026-125766 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
2026-11-13 GitHub_M GHSA-jf9x-2fg2-hx4w
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Plant attacker-influenced link in crawled content
  2. Delivery
    Link captured during prerender phase
  3. Exploit
    Path emitted unescaped into Vercel route config
  4. Execution
    Regex metacharacters match unintended paths
  5. Impact
    Content exposed outside intended path

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

Exploitation requires a SvelteKit application that uses @sveltejs/adapter-vercel (<= 6.3.4, or 7.0.0/7.0.1) or @sveltejs/adapter-static (<= 3.0.10, or 4.0.0) with prerendering enabled, AND an attacker able to influence a link that is crawled during the prerender build phase so that a path containing regular-expression metacharacters is written into the generated Vercel routing configuration. Limiting factors: the attacker does not interact with a live request path but must get a crafted link into the set of URLs crawled at build time, which is why the official CVSS assigns AC:H; applications not using these adapters, not prerendering, or not deploying the generated Vercel/static routing config are not affected. The fix (updating to the listed versions, which escape prerendered paths) is the remediation; the advisory does not describe a configuration-only workaround.

Impact

This is a moderate-severity information-disclosure flaw (CVSS 5.9, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) stemming from improper output neutralization (CWE-116) and overly-restrictive/externally-influenced resource paths (CWE-625). The CVSS vector signals a network-reachable, unauthenticated issue but with high attack complexity (AC:H) - consistent with the description, which requires an attacker to influence a link that is crawled during the build-time prerender phase, an indirect and non-interactive precondition rather than a direct request against a live endpoint. Impact is confidentiality-only (C:H, I:N, A:N): regex metacharacters in a prerendered path are emitted unescaped into the generated Vercel routing configuration, letting the path be interpreted as a regular expression that matches unintended application paths and exposes content outside the intended path. No EPSS score and no KEV status are present in the input, so there is no public exploitation-probability signal and no confirmation of active exploitation; the only references are the GHSA advisory, a fix PR, two commits, and release tags - i.e., patch artifacts, not exploit code. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a real-but-non-urgent remediation posture: a legitimate priority to patch given network reach and high confidentiality impact, but tempered by AC:H and the build-time, attacker-influence precondition. Missing data: no EPSS and no KEV, so widespread-versus-targeted exploitation cannot be assessed from the input.

Exploit ScenarioDerived

An attacker arranges for a link containing regular-expression metacharacters to appear in content that SvelteKit crawls during prerendering (for example via an attacker-influenced URL or crawled page). When adapter-vercel or adapter-static writes that path into the Vercel routing configuration without escaping, the path is later interpreted as a regex that matches application paths beyond the intended one, disclosing content or behavior that should not be reachable. No public exploit code is identified in the input; only advisory and patch references are present.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Prerendered path handling in SvelteKit's @sveltejs/adapter-vercel (<=6.3.4, 7.0.0, 7.0.1) and @sveltejs/adapter-static (<=3.0.10, 4.0.0) fails to escape regular-expression metacharacters, so a path written into the generated Vercel routing configuration can be interpreted as regex and match application paths it was never meant to cover, disclosing content or behavior outside the intended path. Only applications that use these adapters with prerendering enabled and deploy the generated Vercel/static routing configuration are affected; the attacker must influence a link that is crawled at build time rather than send a live request, which is why the assessed CVSS is 5.9 with AC:H. No public exploit code and no confirmed active exploitation were identified at time of analysis; vendor-released patches exist in @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1.

RemediationAI

Upgrade to the fixed releases: @sveltejs/adapter-vercel 6.3.5 or 7.0.2 (for the 6.x and 7.x lines respectively) and @sveltejs/adapter-static 3.0.11 or 4.0.1 (for the 3.x and 4.x lines respectively), which escape prerendered paths before they are written into the Vercel route patterns (upstream fix in PR 17620, commits 0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd and 2ed61a6aa3ac230b89e3528654c587847d1525a0; advisory https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w). After upgrading, rebuild and redeploy so the generated routing configuration is regenerated with escaping applied. The advisory does not describe a configuration-only workaround, so updating is the remediation; organizations that cannot immediately upgrade should treat prerendered path input as untrusted, avoid deploying routing configurations generated by the vulnerable adapter versions, and review generated route patterns for unexpected regular-expression syntax before deployment, accepting that these are compensating measures rather than a fix. If @sveltejs/adapter-cloudflare is also in use, apply the corresponding framework release containing the _redirects/_routes.json escaping change shipped alongside this fix.

Affected VersionsENISA

adapter-vercel 7.0.0-next.0, < 7.0.2
kit < 2.70.4
adapter-static 4.0.0-next.0, < 4.0.1
adapter-vercel < 6.3.5
kit 3.0.0-next.0, < 3.1.1
adapter-static < 3.0.11

Affected Packages

npm @sveltejs/adapter-static fix: 3.0.11, 4.0.1
npm @sveltejs/adapter-vercel fix: 6.3.5, 7.0.2
euvd adapter_static fix: 3.0.11, 4.0.1
euvd adapter_vercel fix: 6.3.5, 7.0.2
euvd kit fix: 2.70.4, 3.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SvelteKit's prerender phase crawls links found in the application and records the resulting paths; the deployment adapters then translate those prerendered paths into platform routing rules. In @sveltejs/adapter-vercel, prerendered paths are emitted into the Vercel routing configuration as route patterns, and the affected versions did not escape regular-expression metacharacters in those paths. The root cause is improper neutralization of special elements in output (CWE-116), specifically an externally influenced path being placed into a regular-expression context (CWE-625, overly permissive regular expression), so a crawled link containing regex syntax can broaden the match set of a generated route and expose paths beyond the intended one. The upstream fix is captured in the changeset 'escape prerendered paths used in Vercel route patterns' shipped through PR 17620, which also carries a parallel hardening for @sveltejs/adapter-cloudflare that prevents prerendered paths from creating unintended rules in _redirects and _routes.json. Affected components per CPE are sveltejs:kit along with the @sveltejs:adapter-vercel and @sveltejs:adapter-static packages; the trigger requires build-time crawl influence and the flaw is not described as reachable through ordinary runtime requests. The vulnerability is information disclosure (C:H, I:N, A:N) rather than code execution or state change.

Know when Kit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

AC:H because the attacker must get a crafted link crawled at build time rather than hit a live endpoint; PR:N/UI:N as no auth or victim action; C:H with I:N/A:N since only unintended content exposure results.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 21:04 EUVD

DescriptionCVE.org

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1, an attacker-influenced link crawled during prerendering could be emitted into the generated Vercel routing configuration without escaping regular-expression metacharacters. The configuration could consequently interpret the path as regular-expression syntax, match unintended application paths, and expose content or behavior outside the intended path. This issue is fixed in @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Medium
popular Svelte framework adapters, but Vercel/static prerender config is a subset
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Kit

View all
CVE-2026-128118 HIGH POC
7.5 Nov 13

SvelteKit 3.0.0 through 3.1.0 can leak server-side secrets into the browser bundle because its build-time server-only im

CVE-2024-23641 HIGH POC
7.5 Jan 24

SvelteKit is a web development kit. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authe

CVE-2026-128123 MEDIUM POC
5.9 Nov 13

Denial of service in SvelteKit's @sveltejs/adapter-node occurs in 5.5.7 and later versions before the 5.5.8 and 6.0.1 fi

CVE-2026-128122 MEDIUM POC
5.9 Nov 13

Prerendered redirect handling in SvelteKit's @sveltejs/adapter-cloudflare can write unintended routing rules into the Cl

CVE-2026-66062 MEDIUM POC
5.3 Aug 07

Remote denial-of-service in @sveltejs/kit (versions ≤ 2.70.1) is achievable by any unauthenticated attacker who sends a

CVE-2025-67647 CRITICAL
9.1 Jan 15

SvelteKit 2.19.0-2.49.4 has SSRF/DoS affecting applications with prerendered routes. Can be exploited to make the server

CVE-2026-114063 HIGH
8.7 Oct 21

A path traversal vulnerability in SvelteKit's Vite preview server on Windows (versions 2.10.0 before 3.0.0) allows remot

CVE-2026-82259 HIGH
8.7 Aug 28

Denial of service in SvelteKit versions 2.49.0 through 2.53.2 is achievable by unauthenticated remote attackers who subm

CVE-2026-82261 HIGH
8.7 Aug 28

CPU exhaustion in SvelteKit's experimental remote form deserialization endpoint allows unauthenticated remote attackers

CVE-2026-82260 HIGH
8.7 Aug 28

Memory exhaustion in @sveltejs/kit versions 2.49.0 through 2.52.1 allows unauthenticated remote attackers to crash the s

CVE-2026-40073 HIGH
8.2 Apr 10

Request body size limit bypass in SvelteKit adapter-node allows unauthenticated attackers to submit oversized payloads,

CVE-2026-128120 HIGH
7.5 Nov 13

SvelteKit versions 2.42.0 through 3.1.0 can be driven into an event-loop-blocking denial of service by a single unauthen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy