CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-200 CWE-668 |
| Vendor | sveltejs |
| Product | kit |
| Published | Nov 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for sveltejs kit
Be the first to know when new high vulnerabilities affecting sveltejs kit are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
sveltejs / kit
>= 3.0.0, < 3.1.1