CVE-2026-128122
Description
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
- CWE-93: Improper Neutralization of CRLF Sequences
- CWE-116: Improper Encoding or Escaping of Output
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-18 |
Timeline
- 2026-11-13Published by the CNA19:47 UTC
- 2026-11-13GitHub advisory published (GHSA-5wg4-q3ww-283h)same day
- 2026-11-13Published in NVD20:18 UTC · 31 minutes after the CNA
- 2026-11-18CISA SSVC decision recorded5 days after publication
Exploit and advisory records
GitHub advisory GHSA-5wg4-q3ww-283h, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @sveltejs/adapter-cloudflare | from 4.7.0 before 7.2.10 | 7.2.10 |
| npm @sveltejs/adapter-cloudflare | from 8.0.0-next.0 before 8.0.2 | 8.0.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| sveltejs kit |
References
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/679e0d84ea9951bb4f1e458a599066b5a451b08a
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@7.2.10
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-cloudflare@8.0.2
- https://github.com/sveltejs/kit/security/advisories/GHSA-5wg4-q3ww-283h
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-128122'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-128122'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-128122'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-128122'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).