Security mailing lists by PureSourceCode

CVE-2026-128122

MEDIUM 5.9CVSS 3.1

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

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.

Published
13 Nov 2026
Last modified
18 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-116CWE-79CWE-93
Also known as
GHSA-5wg4-q3ww-283h
Sources
NVDJSONOSV GHSA-5wg4-q3ww-283hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @sveltejs/adapter-cloudflare >= 4.7.0, < 7.2.10 7.2.10
OSV npm @sveltejs/adapter-cloudflare >= 8.0.0-next.0, < 8.0.2 8.0.2

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.