Vulnerability in SvelteKit Framework Exposes Server Secrets
CVE-2026-128118
7.5HIGH
What is CVE-2026-128118?
The SvelteKit framework contains a vulnerability where server-only modules, accessible through src/params.js, can leak private environment values and other sensitive server secrets into the client bundle. This misconfiguration, which affects versions 3.0.0 to 3.1.1, permits unauthorized access to server-side information that should remain confidential. The issue has been addressed in version 3.1.1, ensuring that the build-time server-only module guard operates correctly, preventing the exposure of sensitive data in client applications.
Affected Version(s)
kit >= 3.0.0, < 3.1.1
