Skip to content
DayZeroHub
High Not yet writtenCVSS 7.7GHSA-r2q3-7m4h-63qgCVE-2026-122244

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

Budibase budibase

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-122244: high-severity vulnerability (CVSS 7.7) in Budibase budibase.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.7.

Affected products and versions

@budibase/server <= 3.38.1; Budibase budibase < 3.50.0

ProductVersionsFixed in
@budibase/server<= 3.38.1—
Budibase budibase< 3.50.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79, CWE-116, CWE-1021

Relevant change history

  1. Published

    Preliminary advisory published.