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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.282% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T19:05:27.085Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:27.085Z | CVE Program |
| epss | verified | 2026-11-19T20:08:14.108Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:45.862Z | OSV |
| affected | verified | 2026-11-19T19:05:27.085Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:27.085Z | CVE Program |
Affected versions and configuration
sveltejs kit; default status: unknown: >= 3.0.0, < 3.1.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "sveltejs",
"product": "kit",
"versions": [
{
"status": "affected",
"version": ">= 3.0.0, < 3.1.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-128118",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-18T04:12:28.354460Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-18T04:12:42.242Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-m9j8-jcmv-hp69",
"aliases": [
"CVE-2026-128118"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.1"
}
]
}
],
"package": {
"name": "@sveltejs/kit",
"purl": "pkg:npm/%40sveltejs/kit",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-m9j8-jcmv-hp69/GHSA-m9j8-jcmv-hp69.json",
"last_known_affected_version_range": "<= 3.1.0"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128118",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/kit",
"type": "PACKAGE"
},
{
"url": "https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-200",
"CWE-668"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-11-13T20:18:56Z",
"github_reviewed_at": "2026-11-16T14:59:00Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | @sveltejs/kit | Not a distribution channel | 3.1.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:27.085ZArchived source JSON
Source publication: 2026-11-13T19:31:04.678Z
Source modification: 2026-11-18T04:12:42.242ZDocument fingerprint
df98a3d385e4e4c0e4784fa9750dd30eb2ff35ed0ba51369e6d00fb481f22499 - OSVConsulted: 2026-11-19T19:03:45.862ZArchived source JSON
Source publication: 2026-11-16T14:59:00.000Z
Source modification: 2026-11-16T15:15:04.088ZDocument fingerprint
a12d6af1728f1809b8855de2e62957934018507a3cec0eecc92aa704c0eaadf5 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T20:08:14.108ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a8aa971f77fb63ee2e873b9df301a025ffea97e04e7bdf1ee7890302a6748bdc
Official status history
- UNKNOWN → PUBLISHED · · evidence