Home/Research/Post

GHSA-m9j8-jcmv-hp69: SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle

  • Severity: HIGH
  • CVE: CVE-2026-128118
  • Ecosystems: npm
  • Packages: @sveltejs/kit

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`.

Source: GitHub Security Advisories · 2026-11-16