{"id":"CVE-2026-128116","aliases":["DHI-dr6x-uafw-pe4s-jinc","EUVD-2026-125727","GHSA-rqp5-r3wg-vg35"],"status":"published","title":"SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00368,"percentile":0.32619,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-11-13T19:27:04Z","modified":"2026-12-01T23:00:11Z","fixes":[{"ecosystem":"npm","package":"@sveltejs/kit","fixed_in":["3.1.1","2.70.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.1"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.70.4"}]}]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0-r1"}]}],"versions":["0.7.0-r1","0.7.0-r2","0.7.0-r3","0.7.0-r4","0.7.0-r5","0.7.0-r6","0.7.0-r7","0.8.0-r0","0.8.0-r1","0.9.0-r0","0.9.0-r1","0.9.0-r2","0.9.0-r3","0.9.0-r4","0.9.0-r5","0.9.0-r6","0.9.0-r7"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0-r1"}]}],"versions":["0.7.0-r1","0.7.0-r2","0.7.0-r3","0.7.0-r4","0.7.0-r5","0.7.0-r6","0.7.0-r7","0.8.0-r0","0.8.0-r1","0.9.0-r0","0.9.0-r1","0.9.0-r2","0.9.0-r3","0.9.0-r4","0.9.0-r5","0.9.0-r6","0.9.0-r7"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.1.0-r0","1.1.0-r1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.1.0-r0","1.1.0-r1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"llama-cpp-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.0-0"}]}],"versions":["0.6.0-0","0.7.0-0","0.7.0-1","0.7.0-2","0.7.0-3","0.7.0-4","0.7.0-5","0.7.0-6","0.7.0-7","0.8.0-0","0.8.0-1","0.9.0-0","0.9.0-1","0.9.0-2","0.9.0-3","0.9.0-4","0.9.0-5","0.9.0-6","0.9.0-7","0.9.0-8","0.9.0-9"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"llama-cpp-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-0"}]}],"versions":["1.0.0-0","1.0.0-1","1.0.0-2","1.0.0-3","1.1.0-0","1.1.0-1","1.1.0-2"]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.1"}]}]},{"source":"osv","ecosystem":"npm","package":"@sveltejs/kit","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.70.4"}]}]}],"products":[{"vendor":"sveltejs","product":"kit"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-rqp5-r3wg-vg35","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/sveltejs/kit/pull/17620","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/commit/a8f7c1e09f13524d3b71d814bad9c15c9f33ef49","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128116","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rqp5-r3wg-vg35","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128116.json","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-dr6x-uafw-pe4s-jinc","tags":["advisory"]},{"url":"https://github.com/sveltejs/kit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-128116","title":"SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution","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.","status":"published","published":"2026-11-13T19:27:04.478Z","modified":"2026-11-18T13:11:09.407Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-13T20:34:17.615341Z"}],"euvd":[{"id":"EUVD-2026-125727","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.","status":"published","published":"2026-11-13T19:27:04Z","modified":"2026-11-18T13:11:09Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-18T14:02:16.281489Z"}],"ghsa":[{"id":"GHSA-rqp5-r3wg-vg35","title":"SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution","description":"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'`.","status":"published","published":"2026-11-16T14:48:54Z","modified":"2026-11-16T14:48:56Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-16T15:10:36.236782Z"}],"nvd":[{"id":"CVE-2026-128116","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.","status":"published","published":"2026-11-13T20:18:56.203Z","modified":"2026-11-18T14:17:31.35Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-13T21:37:35.566528Z"}],"osv":[{"id":"CVE-2026-128116","title":"SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution","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.","status":"published","published":"2026-11-13T19:27:04.478Z","modified":"2026-11-19T20:45:37.748463111Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-15T03:02:39.264057Z"},{"id":"DHI-dr6x-uafw-pe4s-jinc","upstream":["CVE-2026-128116"],"title":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions…","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.","status":"published","published":"2026-11-19T02:04:03Z","modified":"2026-12-01T23:00:11.359976427Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-12-01T23:12:44.981505Z"},{"id":"GHSA-rqp5-r3wg-vg35","title":"SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution","description":"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'`.","status":"published","published":"2026-11-16T14:48:54Z","modified":"2026-11-16T15:00:10.447165173Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-16T15:23:46.753312Z"}]}}
