Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft link with // protocol-relative pathname
-
DeliverySocially engineer victim into clicking
-
ExploitClient-side navigation hits server route resolution
-
ExecutionPathname imported as cross-origin module
-
ImpactAttacker JavaScript executes in victim browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the app to be explicitly configured with router.resolution: 'server' - this is the exact, named prerequisite and is not the default, which sharply limits the affected population. It further requires client-side navigation to a crafted link whose pathname begins with // (a protocol-relative specifier pointing at an attacker origin), and it requires victim user interaction: the user must be socially engineered into following that link (UI:R). No authentication is needed (CVSS PR:N, unauthenticated), and the attack is remote/network-delivered, but the combination of a non-default setting plus required human interaction are the practical limiting factors defenders should weigh. |
| Impact | This is a moderate, conditional XSS-class issue (CVE-2026-128116, CWE-79) rather than a drop-everything emergency. The vendor CVSS of 5.3 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N) captures the key tension well: the attack is network-reachable and needs no attacker privileges (PR:N), but it carries real friction - AC:H and UI:R because it only works against apps that opted into the non-default router.resolution: 'server' setting AND requires a victim to be socially engineered into following a crafted link during client-side navigation. There is no CISA KEV listing and no EPSS score supplied, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_month', i.e. prioritized but not emergency/act_now. On the POC question the inputs contain only the GHSA advisory, the fixing PR (#17620) and patch commits - these are remediation artifacts, not a working exploit, so no public exploit code is identified. One signal to flag for verification: the vendor scored impact as C:H/I:N/A:N, but the mechanism (executing attacker-controlled cross-origin JavaScript in the user's browser) is a classic XSS profile that typically implies at least limited integrity impact and arguably a scope change, so the single-dimension C:H/I:N scoring is debatable - see assessed vector below. Net: treat as a scheduled-patch priority, elevated only for apps actually running server-side route resolution. |
| Exploit ScenarioDerived | An attacker crafts a link whose pathname begins with // (e.g. //evil.example/payload.js) and lures a user of a vulnerable SvelteKit app - one configured with router.resolution: 'server' - into clicking it so that client-side navigation processes it. Server-side route resolution then treats the // prefix as a protocol-relative module specifier and imports and executes JavaScript from the attacker's origin in the victim's browser. No public working exploit is identified; only the advisory and patch commits are available, and exploitation depends on the victim taking the bait (UI:R) and on the non-default configuration being enabled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Cross-origin JavaScript execution in SvelteKit is possible when a pathname beginning with // is interpreted as a protocol-relative module specifier during client-side navigation, but only for apps explicitly configured with router.resolution: 'server', which is not the default. An attacker must socially engineer a victim into following a crafted link (UI:R) while the app is running in the browser; no authentication is required (PR:N), and the assessed vector is AC:H with scope change, low confidentiality and integrity impact, and no availability impact. The issue is fixed in @sveltejs/kit 2.70.4 and 3.1.1; no public exploit code has been identified at time of analysis, and the vuln.today decision label is this_month rather than emergency.
RemediationAI
Vendor-released patch: upgrade @sveltejs/kit to 2.70.4 if you are on the 2.x line, or to 3.1.1 if you are on 3.x; both versions contain the fix from PR #17620 described in advisory GHSA-rqp5-r3wg-vg35 (https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35). If an immediate upgrade is not feasible, the advisory scopes the exposure to apps with router.resolution: 'server', so removing that setting and relying on the default client-side route resolution eliminates this code path; the trade-off is that you lose whatever server-side resolution behaviour your app depended on, so validate routing and lazy-loading behaviour after the change. No public exploit code has been identified at time of analysis and the issue is not listed as actively exploited, so scheduling the upgrade within the current monthly patch cycle is consistent with the this_month decision label; keep in mind the remaining prerequisite is still a socially engineered //-prefixed link followed by a user in the browser.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SvelteKit's router can resolve routes on the client or on the server; the vulnerable behaviour exists only in the 'server' resolution mode, where route resolution data comes back from the server and modules are then imported in the browser. In that flow, a pathname starting with // is treated as a protocol-relative specifier, so the resolution result can point at a module on a different origin, and the browser's dynamic import then loads and executes attacker-origin JavaScript in the context of the vulnerable app. The flaw is classified CWE-79 (cross-site scripting) because the end effect is attacker-controlled script execution in a victim's browser session, and the assessed CVSS vector (AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N) reflects a network-delivered, unauthenticated attack that nonetheless demands a non-default configuration plus victim interaction and produces limited confidentiality/integrity impact with a scope change. The upstream fix (PR #17620, commits 0a2e58c and a8f7c1e) stops server-side route resolution from loading code from another origin for pathnames starting with //; the same release train also carried unrelated hardening changes (path-traversal prevention when previewing prerendered pages on Windows, escaping of prerendered paths and cache-control headers, and redirect-handling fixes in adapters), which are separate from this CVE and should not be conflated with it. The trigger beyond the crafted //-prefixed link is not described in further detail in the available sources.
Know when Sveltekit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Non-default server resolution plus a social-engineered link give AC:H/UI:R and PR:N; cross-origin script execution in the browser is XSS-like, so S:C with limited C:L/I:L rather than the vendor's C:H/I:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SvelteKit is a web development framework. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no
SvelteKit 3.0.0 through 3.1.0 can leak server-side secrets into the browser bundle because its build-time server-only im
The SvelteKit framework offers developers an option to create simple REST APIs. Rated high severity (CVSS 8.8), this vul
Prototype pollution in sveltekit-superforms 2.27.3 and earlier allows unauthenticated remote attackers to inject string
SvelteKit versions 2.42.0 through 3.1.0 can be driven into an event-loop-blocking denial of service by a single unauthen
Confidentiality exposure in the npm package @sveltejs/kit 2.60.1 through 3.1.0 allows arguments submitted for one non-ex
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Rated low severity (CV
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Rated low severity (CV
EUVD-2026-125727
GHSA-rqp5-r3wg-vg35
NVD
CVE.org
EPSS
Exploit-DB