MEDIUM 5.9 npm
SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`
GHSA-5wg4-q3ww-283h · CVE-2026-128122
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
References
- WEB https://github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h
- WEB https://github.com/sveltejs/kit/pull/17620
- WEB https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- WEB https://github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a
- PACKAGE https://github.com/sveltejs/kit
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@7.2.10
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@8.0.2
Ready to move
Start Securing
Free, no credit card | First findings in minutes