# CVE-2026-122244: 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

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T16:50:06.338Z
- Modified: 2026-11-21T00:00:03.997Z
- Also known as: GHSA-r2q3-7m4h-63qg
- Weaknesses: CWE-79, CWE-116, CWE-1021
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Budibase budibase: < 3.50.0
- @budibase/server (npm): up to 3.38.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg> (exploit, web)
- <https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424> (web)
- <https://github.com/Budibase/budibase/releases/tag/v3.50.0> (web)
- <https://github.com/Budibase/budibase/releases/tag/v4.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-122244> (advisory)
- <https://github.com/Budibase/budibase> (package)

## Sources

- CVE List: [CVE-2026-122244](https://www.cve.org/CVERecord?id=CVE-2026-122244), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-r2q3-7m4h-63qg](https://github.com/advisories/GHSA-r2q3-7m4h-63qg), CC-BY-4.0, modified 2026-11-21
- NVD: [CVE-2026-122244](https://nvd.nist.gov/vuln/detail/CVE-2026-122244), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-122244 · Whole record: https://cve.day/CVE-2026-122244.json · Rebuilt by cve.day 2026-11-25T22:59:52.430Z
