CVE-2026-128122
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte.
- Severity: Medium
- CVSS 5.9
- EPSS 0.48%
- P4 · Track
Why P4: track.
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.
Affected products
- npm @sveltejs/adapter-cloudflare >= 4.7.0, < 7.2.10; first patched: 7.2.10
- npm @sveltejs/adapter-cloudflare >= 8.0.0-next.0, < 8.0.2; first patched: 8.0.2
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub