CVE-2026-128116
Medium 5.3No known exploitationFix availableSvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
Vendor advisory: GHSA-rqp5-r3wg-vg35
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 19% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | @sveltejs/kit | from 3.0.0 before 3.1.1 | 3.1.1 | GitHub Advisory Database |
| npm | @sveltejs/kit | all versions before 2.70.4 | 2.70.4 | GitHub Advisory Database |
| sveltejs | kit | < 2.70.4 | Not documented | CVE Program |
| sveltejs | kit | >= 3.0.0, < 3.1.1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-rqp5-r3wg-vg35 (opens in a new tab)github-advisory
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/pull/17620 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1 (opens in a new tab)x_refsource_misc
- https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35 (opens in a new tab)x_refsource_confirm