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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes