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
CVE-2026-122244Published 20 Nov 2026, 16:50 UTC
Real-world risk
1.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.7
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| budibaseCommon | < 3.50.0 | 3.50.0 |
What to do
Update to a fixed version: 3.50.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.7% chance of exploitation in 30 days (percentile 54), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.189
- Threat T3: Public proof of concept0.950
- 10 × impact 0.8 × prerequisites 0.189 × threat 0.951.436
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-79, CWE-116, CWE-1021
References
- https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qgexploit, vendor-advisory
- https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424misc
- https://github.com/Budibase/budibase/releases/tag/v3.50.0misc
- https://github.com/Budibase/budibase/releases/tag/v4.0.0misc
- CVE-2026-122244 on CVE.org