1. Home
  2. Vulnerabilities
  3. CVE-2026-128116

CVE-2026-128116

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

Published 13 Nov 2026 · modified 18 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 32/100

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.

Affected products and versions

sveltejs (1 line(s))
sveltejs
ProductVersionsFixed inSource
kit Versions not specified — CNA (vendor or assigner)
npm (2 line(s))
npm
ProductVersionsFixed inSource
@sveltejs/kit from 3.0.0 (included) to 3.1.1 (excluded) 3.1.1 GitHub Advisory
@sveltejs/kit before 2.70.4 (excluded) 2.70.4 GitHub Advisory

Fix

Upgrade — npm/@sveltejs/kit 3.1.1; npm/@sveltejs/kit 2.70.4official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N (CVSS 3.1, CNA:GitHub_M)
Weakness
CWE-79 · Script intersite (XSS)

How this data is obtained and calculated