ADVISORIES

GitHub Advisory Database

GHSA-5wg4-q3ww-283h

SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`

Moderate CVE-2026-128122

Details

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.

Affected packages

EcosystemPackageAffected versions
npm@sveltejs/adapter-cloudflare
From 4.7.0 before 7.2.10 (fixed in 7.2.10)
npm@sveltejs/adapter-cloudflare
From 8.0.0-next.0 before 8.0.2 (fixed in 8.0.2)

References