Medium, CVSS 5.9npmAmendedPublished
SvelteKit: Prerendered redirect paths can inject arbitrary rules into the _redirects file generated by @sveltejs/adapter-cloudflare
CVE-2026-128122 · GHSA-5wg4-q3ww-283h
- Affected
- npm @sveltejs/adapter-cloudflare >= 4.7.0, < 7.2.10; >= 8.0.0-next.0, < 8.0.2
- Fixed in
- 7.2.108.0.2· Vendor fix available
- Issue
- If an attacker can influence the links crawled during prerendering, they can influence the redirects entries that are added to the Cloudflare platform redirects generated during the adapt phase of the build.
Recommended action: Upgrade to 8.0.2 or 7.2.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.