Skip to content
Threat Brief

← All advisories

CVE-2026-128116

Medium 5.3No known exploitationFix available

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

Vendor advisory: GHSA-rqp5-r3wg-vg35

Record last updated

CVSS score

5.3

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 19% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
npm@sveltejs/kitfrom 3.0.0 before 3.1.13.1.1GitHub Advisory Database
npm@sveltejs/kitall versions before 2.70.42.70.4GitHub Advisory Database
sveltejskit< 2.70.4Not documentedCVE Program
sveltejskit>= 3.0.0, < 3.1.1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references