Home / sveltejs / kit / CVE-2026-128118
CVE-2026-128118: is it exploited, and which versions of sveltejs kit are affected and fixed?
CVE-2026-128118 is an information disclosure vulnerability in sveltejs kit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: @sveltejs/kit from 3.0.0 before 3.1.1 (GitHub advisory GHSA-m9j8-jcmv-hp69). Fixed in 3.1.1 (GitHub advisory GHSA-m9j8-jcmv-hp69). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-128118?
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
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.
From the CVE record by GitHub_M, last updated November 18, 2026, 04:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sveltejs | kit | >= 3.0.0, < 3.1.1 |
As the CVE record by GitHub_M states it, last updated November 18, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @sveltejs/kit | >= 3.0.0, < 3.1.1 | 3.1.1 | GHSA-m9j8-jcmv-hp69 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 16, 2026. Summary: SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle.
How severe is CVE-2026-128118?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-128118 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 18, 2026)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-668 Exposure of Resource to Wrong Sphere
Where are the vendor advisories and references?
- https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69 x_refsource_CONFIRM
- https://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84 x_refsource_MISC
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected] x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 12, 2026
- Published
- November 13, 2026, 19:31 UTC
- CVE record updated
- November 18, 2026, 04:12 UTC by GitHub_M
- NVD
- Deferred, last modified November 18, 2026, 05:19 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect kit?
- Nov 13, 2026CVE-2026-128123 sveltejs kit: uncaught exception (crash)
- Nov 13, 2026CVE-2026-128122 sveltejs kit: cross-site scripting (XSS)
- Nov 13, 2026CVE-2026-128121 sveltejs kit: improper output encoding
- Nov 13, 2026CVE-2026-128120 sveltejs kit: denial of service through slow algorithm
- Nov 13, 2026CVE-2026-128119 sveltejs kit: incorrect authorization
- Nov 13, 2026CVE-2026-128117 sveltejs kit: uncaught exception (crash)
- Nov 13, 2026CVE-2026-128116 sveltejs kit: cross-site scripting (XSS)
- Oct 21, 2026CVE-2026-114063 sveltejs kit: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-128118
Is CVE-2026-128118 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sveltejs kit are affected by CVE-2026-128118?
@sveltejs/kit from 3.0.0 before 3.1.1, per the GitHub advisory GHSA-m9j8-jcmv-hp69. The tables above give every range the sources list.
Which version fixes CVE-2026-128118?
3.1.1, per the GitHub advisory GHSA-m9j8-jcmv-hp69. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-128118?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-128118?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.