{"answers":{"affected":"2 open source packages ship an affected version, including @sveltejs/adapter-cloudflare.","exploited":"There is no known exploitation of CVE-2026-128122 in the wild and no public exploit code.","exposure":"","fix":"Upgrade @sveltejs/adapter-cloudflare to a fixed version for your release line: 7.2.10 or 8.0.2.","what":"CVE-2026-128122 is a medium-severity vulnerability in sveltejs kit, published on 13 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-128122 and fix it if it is affected.\n\nWhat it is: CVE-2026-128122 is a medium-severity vulnerability in sveltejs kit, published on 13 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-128122 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @sveltejs/adapter-cloudflare (npm): affected from 4.7.0; fixed in 7.2.10\n- @sveltejs/adapter-cloudflare (npm): affected from 8.0.0-next.0; fixed in 8.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-128122/ (Markdown: https://insights.sbomify.com/CVE-2026-128122/index.md)","id":"CVE-2026-128122","markdown":"https://insights.sbomify.com/CVE-2026-128122/index.md","name":"CVE-2026-128122","record":{"aliases":["GHSA-5wg4-q3ww-283h"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`","id":"CVE-2026-128122","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":6,"n_vendor_status":1,"next":{"headline":"SvelteKit: `@sveltejs/adapter-node` crashes when proxying certain requests via `fetch`","id":"CVE-2026-128123"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["7.2.10"],"introduced":["4.7.0"],"last_affected":[],"name_kind":null,"package":"@sveltejs/adapter-cloudflare","purl":"pkg:npm/%40sveltejs/adapter-cloudflare","purl_source":"derived","scope":"upstream","source":"GHSA-5wg4-q3ww-283h"},{"ecosystem":"npm","fixed":["8.0.2"],"introduced":["8.0.0-next.0"],"last_affected":[],"name_kind":null,"package":"@sveltejs/adapter-cloudflare","purl":"pkg:npm/%40sveltejs/adapter-cloudflare","purl_source":"derived","scope":"upstream","source":"GHSA-5wg4-q3ww-283h"}],"prev":{"headline":"SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static","id":"CVE-2026-128121"},"products":["kit"],"published":"2026-11-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-18","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["7.2.10","8.0.2"],"introduced":["4.7.0","8.0.0-next.0"],"name":"@sveltejs/adapter-cloudflare","purl":"pkg:npm/%40sveltejs/adapter-cloudflare","sources":["GHSA-5wg4-q3ww-283h"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["sveltejs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-128122/"}