Advisory

GHSA-5wg4-q3ww-283h

Also known as: CVE-2026-128122

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-11-13 20:39 UTC
Modified
2026-11-13 20:45 UTC

Affected packages and fixes

@sveltejs/adapter-cloudflare

npm · All systems

Affected

  • introduced 4.7.0, fixed 7.2.10 (semver)

Fixed versions

7.2.10

Fix

@sveltejs/adapter-cloudflare

npm · All systems

Affected

  • introduced 8.0.0-next.0, fixed 8.0.2 (semver)

Fixed versions

8.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences