SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:@sveltejs/kit | >= 3.0.0, < 3.1.1 | 3.1.1 |
| npm:@sveltejs/kit | < 2.70.4 | 2.70.4 |
If an attacker could, using some form of social engineering or other exploit, get a user to use client-side navigation to navigate to a specially-crafted link, the attacker could cause code from another domain to be imported and run on the user's machine. This only affected apps with router.resolution: 'server'.
Read on GitHub Advisory Database
Get these alerts on XExploits, big breaches and outages, with what to do.
Follow @vulnpulse_appOn 11/16/2026, 11:48 PM, GitHub Advisory Database published "SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js, Svelte. CVE: CVE-2026-128116.