Skip to main content
Menu
Advisories

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

GHSA-RQP5-R3WG-VG35Published Updated GitHub

Description

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 versions

References