VulnWatch by ve1ve2
high 7.5 EPSS 0.28%

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

Source:
GitHub Security Advisories
Published:
Fetched:
Updated:
Affects:
@sveltejs/kit

https://github.com/advisories/GHSA-m9j8-jcmv-hp69 ↗

ghsanpmCWE-200CWE-668

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`. Affected packages: npm:@sveltejs/kit Patched: @sveltejs/kit 3.1.1

Linked vulnerabilities (2)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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

CWE: CWE-200, CWE-668Aliases: CVE-2026-128118
CVE-2026-128118 high 7.5 EPSS 0.28% (p21) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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

CWE: CWE-200, CWE-668Aliases: GHSA-m9j8-jcmv-hp69NVD: Deferred