Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @sveltejs/adapter-cloudflare
  4. ›
  5. CVE-2026-128122

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

November 13, 2026

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

  • github.com/advisories/GHSA-5wg4-q3ww-283h
  • github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
  • github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a
  • github.com/sveltejs/kit/pull/17620
  • github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@7.2.10
  • github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@8.0.2
  • github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h
  • nvd.nist.gov/vuln/detail/CVE-2026-128122

Code Behaviors & Features

Detect and mitigate CVE-2026-128122 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.7.0 before 7.2.10, all versions starting from 8.0.0-next.0 before 8.0.2

Fixed versions

  • 7.2.10
  • 8.0.2

Solution

Upgrade to versions 7.2.10, 8.0.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Source file

npm/@sveltejs/adapter-cloudflare/CVE-2026-128122.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 14 Nov 2026 12:16:30 +0000.