{"vuln_id":"GHSA-m9j8-jcmv-hp69","aliases":["CVE-2026-128118"],"description":"SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle","published_at":"2026-11-16T14:59:00Z","modified_at":"2026-11-16T14:59:01Z","first_seen_at":"2026-11-21T19:15:20.340309Z","severity":"high","severity_source":"ghsa","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-200","CWE-668"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-m9j8-jcmv-hp69"},"matched_alias":null,"items":[{"id":2596,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-m9j8-jcmv-hp69 / CVE-2026-128118: SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle","summary":"SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle\n\nUnder certain circumstances, server-only imports, which typically cannot be included in the client bundle, could make their way into it, potentially exposing secrets. This could only occur when those server-only imports were made through `src/params.js`.\n\nAffected packages: npm:@sveltejs/kit\nPatched: @sveltejs/kit 3.1.1","url":"https://github.com/advisories/GHSA-m9j8-jcmv-hp69","published_at":"2026-11-16T14:59:00Z","updated_at":"2026-11-16T14:59:01Z","fetched_at":"2026-11-21T19:15:18.416962Z","severity":"high","cvss_score":7.5,"epss":0.00282,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"@sveltejs/kit","vuln_id":"CVE-2026-128118","vuln_ids":["CVE-2026-128118","GHSA-M9J8-JCMV-HP69"],"tags":["ghsa","npm","CWE-200","CWE-668"],"cluster_id":2646,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2596","html":"https://vulnwatch.ve1ve2.com/item/2596"}},{"id":5744,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-128118: 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 mo…","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.\n\nReferences:\nhttps://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84\nhttps://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1\nhttps://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128118","published_at":"2026-11-13T20:18:56.520000Z","updated_at":"2026-11-18T05:19:03.157000Z","fetched_at":"2026-11-21T19:15:31.481309Z","severity":"high","cvss_score":7.5,"epss":0.00282,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-128118","vuln_ids":["CVE-2026-128118","GHSA-M9J8-JCMV-HP69"],"tags":["CWE-200","CWE-668"],"cluster_id":2647,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/5744","html":"https://vulnwatch.ve1ve2.com/item/5744"}}]}