Servers and applications
CVE-2026-128118
Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
- Severity
- High 7.5
- Published
- 29 Oct 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Fixed in
- 3.1.1
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-m9j8-jcmv-hp69
- Sources
- CVE Program, Project advisories (GitHub)
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.
Affected software
| Software | Affected versions |
|---|---|
SvelteKitServers and applications · cna:sveltejs|kit |
|
SvelteKitServers and applications · github:sveltejs/kit |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-128118
- GitHub Advisory Database https://github.com/advisories/GHSA-m9j8-jcmv-hp69
- github.com https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69