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

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-128116?

CVE-2026-128116 is a medium-severity vulnerability in sveltejs kit, published on 13 Nov 2026.

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-128116?

2 open source packages ship an affected version, including @sveltejs/kit.

PackageAffectedFixed in
@sveltejs/kit npm
pkg:npm/%40sveltejs/kit
All versions2.70.4
@sveltejs/kit npm
pkg:npm/%40sveltejs/kit
From 3.0.03.1.1
Status by vendor (1)
WhoReleaseStatusPackages
Upstreamfixed@sveltejs/kit (2.70.4)
pkg:npm/%40sveltejs/kit

How do I fix CVE-2026-128116?

Upgrade @sveltejs/kit to a fixed version for your release line: 2.70.4 or 3.1.1.

Is CVE-2026-128116 being exploited?

There is no known exploitation of CVE-2026-128116 in the wild and no public exploit code.

Sources

Also known as DHI-dr6x-uafw-pe4s-jinc, GHSA-rqp5-r3wg-vg35.

Is CVE-2026-128116 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free