{
  "id": "CVE-2026-122244",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-122244",
  "published_at": "2026-11-20T16:50:06.338Z",
  "title": "Budibase: Cross-privilege Stored XSS in the Budibase Builder via broken HTML-escaping in `jsonFormatter.format()` rendered through `{@html}` in the CSP-less Builder origin",
  "vendor": "Budibase",
  "product": "budibase",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-21T02:21:58Z",
    "first_seen_at": "2026-11-21T02:37:21.25Z",
    "days_after_publication": 0.4,
    "repo": "googlesky/CVE-2026-122244",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Budibase is an open-source low-code platform. Prior to 3.50.0, a BASIC application user, or an unauthenticated visitor to a public write form, can store markup in a shared external datasource that a builder or administrator later evaluates in any Handlebars binding Preview that surfaces the value, including the Data-section Formula column editor or any binding drawer. jsonFormatter.format() in packages/frontend-core/src/utils/jsonFormatter.ts leaves raw strings and object keys unescaped, while packages/builder/src/components/common/bindings/EvaluationSidePanel.svelte inserts the formatted result as raw HTML. The Handlebars SafeString path preserves the attacker-controlled value, and the Builder origin lacks a Content-Security-Policy that would block the resulting script. This permits stored script execution in the higher-privileged builder or administrator session rather than the writer's own role, allowing privileged Builder API actions and workspace data access. This issue is fixed in versions 3.50.0 and 4.0.0.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-122244",
      "url": "https://github.com/googlesky/CVE-2026-122244",
      "created_at": "2026-11-21T02:21:58Z",
      "first_seen_at": "2026-11-21T02:37:21.25Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Budibase",
        "product": "budibase",
        "ranges": [
          "\u003c 3.50.0"
        ],
        "fixed_in": [
          "3.50.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade budibase to 3.50.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Budibase/budibase/releases/tag/v3.50.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Budibase/budibase/releases/tag/v4.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
