---
title: "GHSA-rqp5-r3wg-vg35: SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution"
description: "Moderate severity. SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution."
url: https://inlinr.com/advisories/GHSA-rqp5-r3wg-vg35
lang: en
---

[Packages](https://inlinr.com/packages) / [@sveltejs/kit](https://inlinr.com/packages/@sveltejs/kit) / [Security](https://inlinr.com/packages/@sveltejs/kit/security)

Moderate Vulnerability GHSA-rqp5-r3wg-vg35 CVE-2026-128116 Published 16 Nov 2026

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

Your version 

Affected releases · [@sveltejs/kit](https://inlinr.com/packages/@sveltejs/kit)

- 3.x 3.0.0 – 3.1.0 Fixed in 3.1.1
- 2.x 2.0.0 – 2.70.3 Fixed in 2.70.4
- 1.x and older 0.0.8 – 1.30.4 No fix, no longer updated

On 3.x, the newest line:

```
npm install @sveltejs/kit@3.1.1
```

Every release on a timeline

3.x 

1. Affected

3.0.0 – 3.1.0  
3 releases
2. Fixed

3.1.1 – 3.4.0  
6 releases

2.x 

1. Affected

2.0.0 – 2.70.3  
237 releases
2. Fixed

2.70.4  
1 release

1.x 

1. Affected

1.0.0 – 1.30.4  
128 releases

0.x 

1. Affected

0.0.8 – 0.0.30  
21 releases

396 stable releases of @sveltejs/kit, oldest to newest, one row per major.

## What happens

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

## How it is exploited

Exploitable over the network, with no account and a user to do something.

- **Confidentiality**: high
- **Integrity**: none
- **Availability**: none

CVSS:3.1/​AV:N/​AC:H/​PR:N/​UI:R/​S:U/​C:H/​I:N/​A:N

## References

- [Reference](https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35 "https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35")  
github.com/sveltejs/kit/security/advisories/GHS…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-128116 "https://nvd.nist.gov/vuln/detail/CVE-2026-128116")  
nvd.nist.gov/vuln/detail/CVE-2026-128116
- [Pull request](https://github.com/sveltejs/kit/pull/17620 "https://github.com/sveltejs/kit/pull/17620")  
#17620
- [Fix commit](https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd "https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd")  
0a2e58c
- [Fix commit](https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49 "https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49")  
a8f7c1e
- [Package](https://github.com/sveltejs/kit "https://github.com/sveltejs/kit")  
github.com/sveltejs/kit
- [Reference](https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4 "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4")  
github.com/sveltejs/kit/releases/tag/@sveltejs/…
- [Reference](https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1 "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1")  
github.com/sveltejs/kit/releases/tag/@sveltejs/…

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
