@sveltejs/kit
Affected
- introduced
3.0.0, fixed3.1.1(semver)
Fixed versions
3.1.1
Fix
- Fixed version
3.1.1npm install @sveltejs/[email protected]
Advisory
Also known as: CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
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.
High Basis: The source's own band: HIGH
3.0.0, fixed 3.1.1 (semver)3.1.1
3.1.1npm install @sveltejs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0