CVE-2026-128122 Details
Description
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.
A vulnerability in the SvelteKit framework, specifically in versions 4.7.0 through 7.2.9, and 8.0.0 prior to 8.0.2, allows for the injection of arbitrary redirect rules into the Cloudflare `_redirects` file. This issue arises in the `@sveltejs/adapter-cloudflare` package during the prerendering phase, where an attacker can influence the links being crawled. The injected rules can create unintended routing behaviors, potentially redirecting or exposing requests beyond the intended routes.
Users can update to `@sveltejs/adapter-cloudflare` versions 7.2.10 or 8.0.2, both of which include the necessary fix. Instructions for updating can be found in the SvelteKit release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd | [email protected] | Source CodeVendor |
| https://github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a | [email protected] | Source CodeVendor |
| https://github.com/sveltejs/kit/pull/17620 | [email protected] | Issue TrackingVendor |
| https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | Release NotesVendor |
| https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | Release NotesVendor |
| https://github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SvelteKit | All versions |
CPE
Remediation
| |
| SvelteKit adapter-cloudflare | >= 4.7.0, <= 7.2.9 (semver) 8.0.0 (semver) 8.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion