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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-116",
"CWE-79",
"CWE-93"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128122.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "4.7.0"
},
{
"fixed": "7.2.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "8.0.0-next.0"
},
{
"fixed": "8.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "679e0d84ea9951bb4f1e458a599066b5a451b08a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}