CVE-2026-128116Sveltejs Kit cross-site scripting (XSS)
CVSS score
5.3
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.26%
0.26% chance of exploitation in the next 30 days, higher than 18.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running sveltejs Kit and compare its version with the affected versions.
Update to a fixed version
- Update Kit to 2.70.4, 3.1.1 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| sveltejs Kit | < 2.70.4 · >= 3.0.0, < 3.1.1 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-128116 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-128116?
CVE-2026-128116 has a CVSS 3.1 base score of 5.3 (medium).
Which versions are affected?
Sveltejs Kit (< 2.70.4; >= 3.0.0, < 3.1.1)
Is there a patch for CVE-2026-128116?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49
- github.com/sveltejs/kit/pull/17620
- github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4
- github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1
- github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.