Every CVESearch/Get API key

CVE-2026-128116

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

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.3Medium
Network attack, no privileges, needs user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.37% in 30 days
Percentile32nd
EPSS, scored
Listed fix
3.1.1 for @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:N

Exploit chance over time

Up 0.1 points since Nov 14, 2026
EPSS score, scored every day from Nov 14, 2026 to Dec 4, 2026: lowest 0.26% on Nov 14, 2026, highest 0.44% on Nov 25, 2026, 0.37% on the last day.

Affected

Packages 7

Affected packages
PackageAffectedFixed
@sveltejs/kit
npm
3.0.0 up to 3.1.1
3.1.1
before 2.70.4
2.70.4
llama-cpp-0
Docker 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 less
0.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-0
Docker 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 less
0.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-1
Docker 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-1
Docker 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-0
Docker 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 less
0.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-1
Docker 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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Show 4 more daysShow less
Changes recorded by Every CVE
DayChangedSources
Published dateEUVD
Published dateEUVD
Affected packages, referencesOSV
Affected packages, key facts, referencesGitHub Advisories, OSV
Other IDs, referencesNVD, OSV
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open