@sveltejs/kit
Affected
- introduced
3.0.0, fixed3.1.1(semver)
Fixed versions
3.1.1
Fix
- Fixed version
3.1.1npm install @sveltejs/[email protected]
Advisory
Also known as: CVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
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'.
Medium Basis: The source's own band: MODERATE
3.0.0, fixed 3.1.1 (semver)3.1.1
3.1.1npm install @sveltejs/[email protected]0, fixed 2.70.4 (semver)2.70.4
2.70.4npm install @sveltejs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0