CVE-2026-128118
published high CVSS 3.1 · 7.5SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | kit>= 3.0.0, < 3.1.1 | Affected | Not stated | GitHub_M |
Description
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 3.0.0 until 3.1.1, the build-time server-only module guard did not treat src/params.js as a client entry point even though parameter matchers can run in the browser. Server-only modules imported through src/params.js could consequently enter the client bundle, where statically replaced private environment values or other server secrets could be exposed. This issue is fixed in 3.1.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | kit | >= 3.0.0, < 3.1.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
References
3Provider assertions
2GitHub_M · cna
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df98a3d385e4e4c0e4784fa9750dd30eb2ff35ed0ba51369e6d00fb481f22499
- Ingested
- 18 Nov 2026, 04:19:45 UTC
- Source record
- Official CVE record