{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.32.5"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0496d2dd64204a08535680cbbd4e9fc8ebdc7632"
            },
            {
              "fixed": "c9ccf0c19e5849f1bda96401aa33f97c99cd8cd6"
            }
          ],
          "repo": "https://github.com/budibase/budibase",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gp5x-2v54-v2q5"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35218.json"
  },
  "details": "Budibase is an open-source low-code platform. Prior to version 3.32.5, Budibase's Builder Command Palette renders entity names (tables, views, queries, automations) using Svelte's {@html} directive without any sanitization. An authenticated user with Builder access can create a table, automation, view, or query whose name contains an HTML payload (e.g. \u003cimg src=x onerror=alert(document.domain)\u003e). When any Builder-role user in the same workspace opens the Command Palette (Ctrl+K), the payload executes in their browser, stealing their session cookie and enabling full account takeover. This issue has been patched in version 3.32.5.",
  "id": "CVE-2026-35218",
  "modified": "2026-07-08T05:36:48.743143159Z",
  "published": "2026-04-03T15:47:45.469Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Budibase/budibase/releases/tag/3.32.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-gp5x-2v54-v2q5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35218.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-35218"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Budibase/budibase/commit/c9ccf0c19e5849f1bda96401aa33f97c99cd8cd6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Budibase/budibase/pull/18243"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Budibase: Stored XSS via unsanitized entity names rendered with {@html} in Builder Command Palette"
}