- Home
- Vulnerabilities
- CVE-2026-128116
CVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
Low
32/100
Summary
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.
Affected products and versions
sveltejs (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| kit | Versions not specified | — | CNA (vendor or assigner) |
npm (2 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| @sveltejs/kit | from 3.0.0 (included) to 3.1.1 (excluded) |
3.1.1 |
GitHub Advisory |
| @sveltejs/kit | before 2.70.4 (excluded) |
2.70.4 |
GitHub Advisory |
Fix
Upgrade — npm/@sveltejs/kit 3.1.1; npm/@sveltejs/kit 2.70.4official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-rqp5-r3wg-vg35 — SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution 16 Nov 2026
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35x_refsource_CONFIRM
- https://github.com/sveltejs/kit/pull/17620x_refsource_MISC
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11ddx_refsource_MISC
- https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49x_refsource_MISC
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4x_refsource_MISC
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-128116ADVISORY
- https://github.com/sveltejs/kitPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-79 · Script intersite (XSS)