5.9medium
SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mw6w-2fmv-pvw3
Description
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sveltejs kit | < 2.70.4, >= 3.0.0, < 3.1.1 | CVE List |
| @sveltejs/kit (npm) | from 3.0.0 before 3.1.1, before 2.70.4 | GitHub Advisory Database |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.
GitHub Advisory Database
When reroute turned an invalid percent-encoded path into a valid path, it could potentially trigger a comparison that would crash the server.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-128117 changed 2026-11-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mw6w-2fmv-pvw3 changed 2026-11-13 | CC-BY-4.0 |
| NVD | CVE-2026-128117 changed 2026-11-13 | Public domain |