{
  "id": "CVE-2026-128118",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-128118",
  "published_at": "2026-11-13T19:31:04.678Z",
  "title": "SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle",
  "vendor": "sveltejs",
  "product": "kit",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-200",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "sveltejs",
        "product": "kit",
        "ranges": [
          "\u003e= 3.0.0, \u003c 3.1.1"
        ],
        "fixed_in": [
          "3.1.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kit to 3.1.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/sveltejs/kit/security/advisories/GHSA-m9j8-jcmv-hp69"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/sveltejs/kit/commit/ae07803806f75b8b5662ae4ab92934ca1356fd84"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
