Skip to content
High 7.5

SvelteKitで サーバー専用の秘密情報がクライアントに含まれる脆弱性

CVE-2026-128118 First seen on SecPulse

Summary

SvelteKitのバージョン3.0.0から3.1.0までに脆弱性があり、src/params.jsを経由して読み込まれたサーバー専用モジュールがブラウザー向けのバンドルに入り、秘密の環境変数などが漏えいするおそれがあります。修正版は3.1.1です。3.1.1以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

SvelteKitのバージョン3.0.0から3.1.0までに脆弱性があり、src/params.jsを経由して読み込まれたサーバー専用モジュールがブラウザー向けのバンドルに入り、秘密の環境変数などが漏えいするおそれがあります。修正版は3.1.1です。3.1.1以降へ更新してください。

Affected packages

PackageAffected → Fixed
sveltejskit —
npm@sveltejs/kit
≥ 3.0.0, < 3.1.1→ 3.1.1
Original description The description as published by the source.

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 3.0.0 until 3.1.1, the build-time server-only module guard did not treat src/params.js as a client entry point even though parameter matchers can run in the browser. Server-only modules imported through src/params.js could consequently enter the client bundle, where statically replaced private environment values or other server secrets could be exposed. This issue is fixed in 3.1.1.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details