CVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | sveltejs |
| Product | kit |
| Published | Nov 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for sveltejs kit
Be the first to know when new medium vulnerabilities affecting sveltejs kit are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
sveltejs / kit
< 2.70.4 >= 3.0.0, < 3.1.1
References
github.com: https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35 github.com: https://github.com/sveltejs/kit/pull/17620 github.com: https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd github.com: https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49 github.com: https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] github.com: https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]