P2 · HighCVSS 7.5EPSS 0.4%
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
- CVE-2026-128118
- GHSA-m9j8-jcmv-hp69
Description
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`.
Text from the GitHub Advisory record.
Affected
@sveltejs/kitnpm
- from 3.0.0, up to 3.1.0
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.