{"id":"CVE-2026-128116","aliases":["CVE-2026-128116","GHSA-rqp5-r3wg-vg35"],"related":[],"kind":"vulnerability","state":"published","title":"SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"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'`.","format":"markdown","source":"ghsa"}],"published":"2026-11-13T19:27:04.478Z","modified":"2026-11-18T14:17:31.350Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.70.4","status":"affected"},{"version":">= 3.0.0, < 3.1.1","status":"affected"}],"vendor":"sveltejs","product":"kit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.1.1"}],"ecosystem":"npm","package":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.70.4"}],"ecosystem":"npm","package":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","source":"ghsa"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/pull/17620","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128116","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/kit","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-18T13:10:43.959Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-128116","url":"https://www.cve.org/CVERecord?id=CVE-2026-128116","licence":"CVE Terms of Use","modified":"2026-11-18T13:11:09.407Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rqp5-r3wg-vg35","url":"https://github.com/advisories/GHSA-rqp5-r3wg-vg35","licence":"CC-BY-4.0","modified":"2026-11-16T15:00:10.447Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-128116","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128116","licence":"Public domain","modified":"2026-11-18T14:17:31.350Z"}],"updatedAt":"2026-11-25T22:59:50.780Z","epss":{"score":0.00368,"percentile":0.32621,"date":"2026-12-01T12:00:22.000Z"}}