{"id":"CVE-2026-128118","published":"2026-11-13T19:31:04Z","modified":"2026-11-18T04:12:42Z","title":"SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically…","vendor":"sveltejs","product":"kit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00282,"percentile":0.21263,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1","tags":["x_refsource_MISC"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.25},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"kit","versions":[">= 3.0.0, < 3.1.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-18T04:12:28.354460Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sveltejs/kit","vulnerableRanges":[">=3.0.0, <3.1.1"],"patched":["3.1.1"],"from":["GHSA-m9j8-jcmv-hp69"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-125730","exploited":false,"provenance":"source"}}