CVE-2026-128122
SvelteKit is a framework for rapidly developing robust, performant …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a
- github.com/sveltejs/kit/pull/17620
- github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h
- github.com/advisories/GHSA-5wg4-q3ww-283h
- nvd.nist.gov/vuln/detail/CVE-2026-128122
- cve.org/CVERecord?id=CVE-2026-128122
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.