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.

Project Subscriptions

Vendors Products
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 13 Nov 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Svelte
Svelte kit
Vendors & Products Svelte
Svelte kit

Fri, 13 Nov 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
Weaknesses CWE-200
CWE-668
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-13T19:31:04.678Z

Reserved: 2026-11-12T22:42:47.031Z

Link: CVE-2026-128118

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-13T20:18:56.520

Modified: 2026-11-13T22:14:15.437

Link: CVE-2026-128118

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-13T21:30:21Z

Weaknesses