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'.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @sveltejs/kit | >= 3.0.0, < 3.1.1, < 2.70.4 | 3.1.1, 2.70.4 |
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
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
@sveltejs/kit- Disclosed
- 16.11.2026
- Updated
- 16.11.2026 17:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rqp5-r3wg-vg35 - CC BY 4.0
Vulnerability history: @sveltejs/kit
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 24
- First → latest
- 04.2023 11.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 8
- Medium 11
- Low 5
Disclosures per year
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 18
-
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.