# GHSA-RQP5-R3WG-VG35: SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-11-16
- Modified: 2026-11-16

## Tracked as

- [CVE-2026-128116](https://cve.now/CVE-2026-128116.md): kit cross-site scripting in server-side route resolution

## Affected versions

- @sveltejs/kit (npm): from 3.0.0, fixed in 3.1.1
- @sveltejs/kit (npm): fixed in 2.70.4

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

## References

- https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35
- https://nvd.nist.gov/vuln/detail/CVE-2026-128116
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49
- https://github.com/sveltejs/kit
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1

Page: https://cve.now/GHSA-RQP5-R3WG-VG35

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
