CVE-2026-128116
SvelteKit: Protocol- relative module import during server- side route resolution allows cross- origin script execution
- Severity
- 5.3MediumNetwork attack, no privileges, needs user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.37% in 30 daysPercentile32ndEPSS, scored
- Listed fix
3.1.1for @sveltejs/kit From GitHub Advisories and OSV1 more listed version, 6 other affected packages
Overview
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
Impact
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NExploit chance over time
Affected
Packages 7
| Package | Affected | Fixed |
|---|---|---|
@sveltejs/kitnpm | 3.0.0 up to 3.1.1 | 3.1.1 |
| before 2.70.4 | 2.70.4 | |
llama-cpp-0Docker Hardened Images:Alpine:3.23 | 0.7.0-r1 and later, plus listed versions 0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6 Show 11 more versionsShow less0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7 | None listed |
llama-cpp-0Docker Hardened Images:Alpine:3.24 | 0.7.0-r1 and later, plus listed versions 0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6 Show 11 more versionsShow less0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7 | None listed |
llama-cpp-1Docker Hardened Images:Alpine:3.23 | 1.0.0-r0 and later, plus listed versions 1.0.0-r11.1.0-r01.1.0-r1 | None listed |
llama-cpp-1Docker Hardened Images:Alpine:3.24 | 1.0.0-r0 and later, plus listed versions 1.0.0-r11.1.0-r01.1.0-r1 | None listed |
llama-cpp-0Docker Hardened Images:Debian:13 | 0.6.0-0 and later, plus listed versions 0.7.0-00.7.0-10.7.0-20.7.0-30.7.0-4 Show 15 more versionsShow less0.7.0-50.7.0-60.7.0-70.8.0-00.8.0-10.9.0-00.9.0-10.9.0-20.9.0-30.9.0-40.9.0-50.9.0-60.9.0-70.9.0-80.9.0-9 | None listed |
llama-cpp-1Docker Hardened Images:Debian:13 | 1.0.0-0 and later, plus listed versions 1.0.0-11.0.0-21.0.0-31.1.0-01.1.0-11.1.0-2 | None listed |
Products 1
Sources
CVE List Score usedCVSS 3.15.3
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
- Record
CVE-2026-128116- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-13
EUVDEUVD-2026-125727CVSS 3.15.3
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
- Record
EUVD-2026-125727- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-18
GitHub AdvisoriesGHSA-rqp5-r3wg-vg35CVSS 3.15.3
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'.
- Record
GHSA-rqp5-r3wg-vg35- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-16
NVDCVSS 3.15.3
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
- Record
CVE-2026-128116- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-13
OSVCVSS 3.15.3
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
- Record
CVE-2026-128116- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-15
OSVDHI-dr6x-uafw-pe4s-jincCVSS 3.15.3
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions…
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1.
- Record
DHI-dr6x-uafw-pe4s-jinc- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-12-01
OSVGHSA-rqp5-r3wg-vg35CVSS 3.15.3
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'.
- Record
GHSA-rqp5-r3wg-vg35- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-16
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV |
Show 4 more daysShow less
| Day | Changed | Sources |
|---|---|---|
| Published date | EUVD | |
| Published date | EUVD | |
| Affected packages, references | OSV | |
| Affected packages, key facts, references | GitHub Advisories, OSV | |
| Other IDs, references | NVD, OSV | |
| Other IDs, published date | EUVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35
github.com/sveltejs/kit/pull/17620
github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49
github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4
github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1
nvd.nist.gov/vuln/detail/CVE-2026-128116
github.com/advisories/GHSA-rqp5-r3wg-vg35
github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128116.json
scout.docker.com/v/DHI-dr6x-uafw-pe4s-jinc
github.com/sveltejs/kit