{"answers":{"affected":"1 open source package ship an affected version, including @sveltejs/kit.","exploited":"There is no known exploitation of CVE-2026-128118 in the wild and no public exploit code.","exposure":"","fix":"Upgrade @sveltejs/kit to 3.1.1 or later.","what":"CVE-2026-128118 is a high-severity vulnerability in sveltejs kit, published on 13 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-128118 and fix it if it is affected.\n\nWhat it is: CVE-2026-128118 is a high-severity vulnerability in sveltejs kit, published on 13 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-128118 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @sveltejs/kit (npm): affected from 3.0.0; fixed in 3.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-128118/ (Markdown: https://insights.sbomify.com/CVE-2026-128118/index.md)","id":"CVE-2026-128118","markdown":"https://insights.sbomify.com/CVE-2026-128118/index.md","name":"CVE-2026-128118","record":{"aliases":["GHSA-m9j8-jcmv-hp69"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle","id":"CVE-2026-128118","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":3,"n_vendor_status":1,"next":{"headline":"SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations","id":"CVE-2026-128119"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["3.1.1"],"introduced":["3.0.0"],"last_affected":[],"name_kind":null,"package":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","purl_source":"derived","scope":"upstream","source":"GHSA-m9j8-jcmv-hp69"}],"prev":{"headline":"SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node","id":"CVE-2026-128117"},"products":["kit"],"published":"2026-11-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-18","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["3.1.1"],"introduced":["3.0.0"],"name":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","sources":["GHSA-m9j8-jcmv-hp69"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["sveltejs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-128118/"}