← Vulnerabilities

MediumAdvisoryJavaScript / Node.jsSvelte

SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution

Affected

PackageAffected versionsFixed in
npm:@sveltejs/kit>= 3.0.0, < 3.1.13.1.1
npm:@sveltejs/kit< 2.70.42.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

On 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.