ADVISORIES

GitHub Advisory Database

GHSA-rqp5-r3wg-vg35

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

Moderate CVE-2026-128116

Details

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

Affected packages

EcosystemPackageAffected versions
npm@sveltejs/kit
From 3.0.0 before 3.1.1 (fixed in 3.1.1)
npm@sveltejs/kit
All versions before 2.70.4 (fixed in 2.70.4)

References