{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-122244","id":"CVE-2026-122244","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","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 pac","descriptionLong":"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.","published":"2026-11-20T16:50:06.338Z","updated":"2026-11-20T16:50:06.338Z","reserved":"2026-11-04T21:23:42.456Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"}],"rating":"high","products":["budibase"],"affectedProducts":[{"vendor":"Budibase","product":"budibase","defaultStatus":null,"versions":[{"version":"< 3.50.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-79","CWE-116","CWE-1021"],"aliases":[],"references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424","tags":["x_refsource_MISC"]},{"url":"https://github.com/Budibase/budibase/releases/tag/v3.50.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/Budibase/budibase/releases/tag/v4.0.0","tags":["x_refsource_MISC"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-122244","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122244","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-122244","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-122244","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}