Advisory

GHSA-rqp5-r3wg-vg35

Also known as: CVE-2026-128116

Summary

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

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-11-16 14:48 UTC
Modified
2026-11-16 15:00 UTC

Affected packages and fixes

@sveltejs/kit

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.1.1 (semver)

Fixed versions

3.1.1

Fix

@sveltejs/kit

npm · All systems

Affected

  • introduced 0, fixed 2.70.4 (semver)

Fixed versions

2.70.4

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences