CVE-2026-128118 Details
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.
A vulnerability in SvelteKit versions 3.0.0 through 3.1.0 allows server-only modules to be inadvertently included in the client bundle. This issue arises because the framework's build-time guard did not recognize `src/params.js` as a client entry point, despite parameter matchers being executable in the browser. As a result, server-only modules imported through `src/params.js` could be exposed to the client, potentially revealing private environment variables or other server-side secrets. The vulnerability has been addressed in version 3.1.1.
Users can upgrade to SvelteKit version 3.1.1, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84 | [email protected] | Source CodeVendor |
| https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] | [email protected] | Release NotesVendor |
| https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-668 | Exposure of Resource to Wrong Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SvelteKit | >= 3.0.0, <= 3.1.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion