SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:@sveltejs/kit | >= 3.0.0, <= 3.1.0 | 3.1.1 |
Under certain circumstances, server-only imports, which typically cannot be included in the client bundle, could make their way into it, potentially exposing secrets. This could only occur when those server-only imports were made through src/params.js.
Read on GitHub Advisory Database
Get these alerts on XExploits, big breaches and outages, with what to do.
Follow @vulnpulse_appOn 11/16/2026, 11:59 PM, GitHub Advisory Database published "SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle" (type: Advisory). Severity is "High" (high). Related technologies: JavaScript / Node.js, Svelte. CVE: CVE-2026-128118.