Skip to main content
Menu
Advisories

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

GHSA-M9J8-JCMV-HP69Published Updated 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 versions

References