HIGH 7.5 npm
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
GHSA-m9j8-jcmv-hp69 · CVE-2026-128118
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- WEB https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-128118
- WEB https://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84
- PACKAGE https://github.com/sveltejs/kit
- WEB https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes