CVE-2026-128118
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte.
- Severity: High
- CVSS 7.5
- EPSS 0.49%
- P3 · Planned
Why P3: planned.
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.
Affected products
- npm @sveltejs/kit >= 3.0.0, <= 3.1.0; first patched: 3.1.1
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub