CVE-2026-128118 json
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
published 17d ago modified 2d ago also EUVD-2026-125730 , GHSA-m9j8-jcmv-hp69
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository sveltejs/kit. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @sveltejs/kit 3.1.1
Is CVE-2026-128118 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.28% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @sveltejs/kit | >=3.0.0, <=3.1.0 |
3.1.1 |
Affected products
- sveltejs kit
Classification
References
Sources
- CVE List CVE-2026-128118
- NVD CVE-2026-128118
- Maintainer advisory GHSA-m9j8-jcmv-hp69
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of sveltejs/kit published their own advisory on GitHub. Reviewed sources take precedence over it.