Advisory

GHSA-m9j8-jcmv-hp69

Also known as: CVE-2026-128118

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-11-16 14:59 UTC
Modified
2026-11-16 15:15 UTC

Affected packages and fixes

@sveltejs/kit

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.1.1 (semver)

Fixed versions

3.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences