Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence a link crawled during prerender
-
DeliveryEmbed control chars/wildcards in redirect path
-
ExploitAdapter writes unvalidated path to _redirects
-
ExecutionCloudflare edge creates unintended routing rule
-
ImpactRedirect or expose requests beyond intended route
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of: deployment with @sveltejs/adapter-cloudflare at an affected version (>=4.7.0 through 7.2.9, or 8.0.0/8.0.1); prerendering enabled so the build crawls links; and the attacker being able to influence a link that is crawled during prerendering so that a crafted redirect path (containing whitespace, control characters, wildcards, or placeholders) is captured. The limiting factors are significant: the flaw is triggered at build/prerender time rather than at request time, it depends on the application incorporating attacker-influenceable content into the crawl, and it is specific to the Cloudflare adapter - hence AC:H. These conditions are why this does not behave like a straightforward remote-unauthenticated request exploit despite PR:N/UI:N. |
| Impact | This is a moderate, conditional risk rather than an urgent one. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N, base 5.9) pairs network reach and no-authentication with High attack complexity, and the High complexity is the key qualifier: exploitation depends on the attacker being able to influence links that the site crawls during prerendering, which is a build-time, environment-specific precondition rather than a direct request against a live endpoint. The priority decision label is 'this_month', consistent with a real but non-emergency issue. There is no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis - the available references are the GHSA advisory, a pull request, fix commits, and release tags, i.e. remediation artifacts, not weaponized exploit code. NVD records the impact as C:H/I:N/A:N, but that is worth scrutiny: the described effect (creating unintended routing rules that redirect requests) is as much an integrity/routing-manipulation issue as a confidentiality one, and the GHSA CWE set (CWE-93, CWE-116) describes the mechanism - improper neutralization/encoding into a generated config file - more precisely than the NVD-assigned CWE-79 (XSS). Net: treat as a planned-remediation item for teams running the Cloudflare adapter with prerendering of attacker-influenceable content, not a drop-everything priority. |
| Exploit ScenarioDerived | An attacker plants content (for example user-submitted or CMS-sourced links) that the site follows while crawling during prerendering; the crafted redirect path contains whitespace, control characters, wildcards, or placeholders. During the build's adapt phase, @sveltejs/adapter-cloudflare writes that unvalidated path into the Cloudflare _redirects file, producing an unintended routing rule that can redirect or expose requests to routes beyond the intended one. No public exploit code is identified, and the CVSS High attack complexity reflects the build-time precondition of influencing what gets crawled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Prerendered redirect handling in SvelteKit's @sveltejs/adapter-cloudflare can write unintended routing rules into the Cloudflare _redirects file when an attacker can influence a link crawled at build time, potentially misrouting requests or exposing content beyond the intended prerendered route. The issue affects adapter versions from 4.7.0 through 7.2.9 and the 8.0.0/8.0.1 releases, and is fixed in 7.2.10 and 8.0.2. Exploitation is conditional and build-time only: it requires prerendering to be enabled and attacker-influenced content to be captured during the crawl, so overall risk is moderate; no public exploit has been identified at time of analysis and there is no CISA KEV entry.
RemediationAI
Upgrade @sveltejs/adapter-cloudflare to 7.2.10 on the 7.x line or 8.0.2 on the 8.x line, the vendor-released patch versions; the advisory is at https://github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h and the fix is documented in PR https://github.com/sveltejs/kit/pull/17620. The patched code skips prerendered redirect paths containing wildcard characters and warns during the build, and percent-encodes whitespace, control characters and other characters that Cloudflare would parse as separators in both the path and the redirect location. If upgrading is not immediately possible, inspect the generated _redirects and _routes.json files after each build for unexpected or overly broad rules before deployment, and avoid prerendering redirect routes whose target paths can be influenced by untrusted input; those measures are compensating only, since older adapter versions still emit unvalidated rule text. Disabling prerendering for affected routes can change caching, performance and SEO behavior, so scope it to routes that incorporate attacker-influenceable links.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 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
The @sveltejs/adapter-cloudflare package generates Cloudflare platform files during the adapt phase of a SvelteKit build, including a _redirects file derived from builder.prerendered.redirects and a _routes.json file. The vulnerable implementation concatenated each prerendered path, redirect location and status into a line-oriented rule without validating the output context, so whitespace, control characters, wildcards or placeholders in a path could be interpreted as additional or broader routing rules. The GitHub advisory classifies the weakness as CWE-79, CWE-93 and CWE-116, reflecting improper neutralization of output in a generated configuration file, with CWE-116 (improper encoding or escaping of output) best describing the root cause; the practical consequence here is routing-rule injection rather than script execution. The fix centralizes generation in utils.js, skips paths containing wildcard characters with a build warning, and percent-encodes characters that Cloudflare would otherwise treat as token separators in the path and redirect location. The flaw is specific to the Cloudflare adapter and is triggered at build/prerender time, not at request time.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Requires influencing links crawled during prerendering (AC:H) with no authentication (PR:N); build-time injection of routing rules yields limited confidentiality and integrity impact, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 4.7.0 until versions 7.2.10 and 8.0.2, @sveltejs/adapter-cloudflare allowed an attacker-influenced link crawled during prerendering to place whitespace, control characters, wildcards, or placeholders into a prerendered redirect path. The adapter wrote those paths into the Cloudflare _redirects output without output-context validation, allowing a path to create unintended routing rules that could redirect or expose requests beyond the intended prerendered route. This issue is fixed in 7.2.10 and 8.0.2.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SvelteKit 3.0.0 through 3.1.0 can leak server-side secrets into the browser bundle because its build-time server-only im
SvelteKit is a web development kit. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authe
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
Remote denial-of-service in @sveltejs/kit (versions ≤ 2.70.1) is achievable by any unauthenticated attacker who sends a
SvelteKit 2.19.0-2.49.4 has SSRF/DoS affecting applications with prerendered routes. Can be exploited to make the server
A path traversal vulnerability in SvelteKit's Vite preview server on Windows (versions 2.10.0 before 3.0.0) allows remot
Denial of service in SvelteKit versions 2.49.0 through 2.53.2 is achievable by unauthenticated remote attackers who subm
CPU exhaustion in SvelteKit's experimental remote form deserialization endpoint allows unauthenticated remote attackers
Memory exhaustion in @sveltejs/kit versions 2.49.0 through 2.52.1 allows unauthenticated remote attackers to crash the s
Request body size limit bypass in SvelteKit adapter-node allows unauthenticated attackers to submit oversized payloads,
SvelteKit versions 2.42.0 through 3.1.0 can be driven into an event-loop-blocking denial of service by a single unauthen
SvelteKit versions 2.49.0 through 2.49.4 are vulnerable to denial-of-service attacks through the experimental form remot
EUVD-2026-125767
GHSA-5wg4-q3ww-283h
NVD
CVE.org
EPSS
VulDB
Exploit-DB