{"id":"CVE-2026-128122","aliases":["GHSA-5wg4-q3ww-283h"],"url":"https://o3.security/vulnerability/CVE-2026-128122","summary":"SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`","details":"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.","published":"2026-11-13T19:47:28.720Z","modified":"2026-11-14T10:45:36.747896517Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@sveltejs/adapter-cloudflare","fixedVersion":"7.2.10"},{"ecosystem":"npm","name":"@sveltejs/adapter-cloudflare","fixedVersion":"8.0.2"}],"fix":{"url":"https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd","label":"sveltejs/kit@0a2e58c"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128122.json"},{"type":"FIX","url":"https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd"},{"type":"FIX","url":"https://github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a"},{"type":"FIX","url":"https://github.com/sveltejs/kit/pull/17620"},{"type":"WEB","url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@7.2.10"},{"type":"WEB","url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@8.0.2"},{"type":"ADVISORY","url":"https://github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128122"},{"type":"PACKAGE","url":"https://github.com/sveltejs/kit"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-14T10:45:36.747896517Z"}}