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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-13T19:27:04.478Z
- Modified: 2026-11-18T14:17:31.350Z
- Also known as: GHSA-rqp5-r3wg-vg35
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sveltejs kit: < 2.70.4; >= 3.0.0, < 3.1.1
- @sveltejs/kit (npm): from 3.0.0 before 3.1.1; before 2.70.4

## Every score

- GitHub_M: 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`
- GitHub: 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`

## References

- <https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35> (web)
- <https://github.com/sveltejs/kit/pull/17620> (web)
- <https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd> (web)
- <https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49> (web)
- <https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4> (web)
- <https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128116> (advisory)
- <https://github.com/sveltejs/kit> (package)

## Sources

- CVE List: [CVE-2026-128116](https://www.cve.org/CVERecord?id=CVE-2026-128116), CVE Terms of Use, modified 2026-11-18
- GitHub Advisory Database: [GHSA-rqp5-r3wg-vg35](https://github.com/advisories/GHSA-rqp5-r3wg-vg35), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-128116](https://nvd.nist.gov/vuln/detail/CVE-2026-128116), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-128116 · Whole record: https://cve.day/CVE-2026-128116.json · Rebuilt by cve.day 2026-11-25T22:59:50.780Z
