Budibase
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
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.50.0
Fixed in 3.50.0
Mitigation
Upgrade budibase to 3.50.0 or later.
References
- Vendor advisory github.com/Budibase/budibase/security/advisori…
- Patch github.com/Budibase/budibase/commit/5f37fb4372…
- Release notes github.com/Budibase/budibase/releases/tag/v3.5…
1 more
- Release notes github.com/Budibase/budibase/releases/tag/v4.0…
Timeline
Days relative to CVE publicationFirst public PoC 10 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-122244 (created 21 Nov 2026, found by us: 21 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-122244 | 21 Nov 2026 +10 h | 21 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.