← 漏洞与更新

高危漏洞公告JavaScript / Node.jsSvelte

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

受影响

软件包受影响版本修复版本
npm:@sveltejs/kit>= 3.0.0, <= 3.1.03.1.1

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.

在 GitHub Advisory Database 阅读

2026/11/16 23:59,GitHub Advisory Database 发布了“SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:JavaScript / Node.js、Svelte。CVE:CVE-2026-128118。