CVE-2026-122244 in Budibaseinfo

Summary

by MITRE • 11/20/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/20/2026

The vulnerability identified involves a stored cross-site scripting flaw within Budibase, an open-source low-code development platform. The root cause lies in the improper handling of user-supplied input when it is processed through specific internal utility functions and subsequently rendered in administrative interfaces. Specifically, the jsonFormatter.format() function located in packages/frontend-core/src/utils/jsonFormatter.ts fails to escape raw strings and object keys before outputting them. This lack of sanitization allows malicious markup or script payloads to persist within shared external datasources when submitted by a BASIC application user or an unauthenticated visitor accessing a public write form. The vulnerability is not confined to the writer's session but escalates significantly because these stored values are later evaluated and rendered in higher-privileged contexts, such as the Handlebars binding Preview feature used by builders and administrators.

The exploitation chain relies on the interaction between multiple components of the Budibase architecture. When a builder or administrator accesses features like the Data-section Formula column editor or any binding drawer to preview data bindings, they trigger the rendering process that incorporates the stored payload. The EvaluationSidePanel.svelte component in packages/builder/src/components/common/bindings inserts the formatted result directly as raw HTML without adequate validation. Furthermore, the Handlebars SafeString mechanism preserves the attacker-controlled value by treating it as trusted content, thereby bypassing standard escaping mechanisms. This architectural design flaw ensures that any script embedded during data entry is executed within the context of the administrator or builder session rather than the original writer's restricted environment.

The operational impact of this vulnerability is severe due to its cross-site scripting nature combined with privilege escalation capabilities. An attacker can achieve stored script execution in a privileged session, effectively bypassing role-based access controls that are designed to isolate lower-privileged users from sensitive administrative functions. Once executed within the builder or administrator context, the malicious scripts gain access to protected APIs and workspace data that would otherwise be inaccessible. This allows for unauthorized modification of application configurations, exfiltration of sensitive business logic, potential defacement of internal dashboards, and further lateral movement if session tokens are stolen via cookie-based attacks. The absence of a Content-Security-Policy in the Builder origin exacerbates this risk by failing to restrict script execution sources or inline code evaluation, which would otherwise mitigate many such injection attempts.

This vulnerability aligns with CWE-79, known as Improper Neutralization of Input During Web Page Generation commonly referred to as Cross-site Scripting (XSS). More specifically, it represents a Stored XSS scenario where the malicious payload is saved on the target server and subsequently delivered to victims in an HTTP response. In terms of offensive security frameworks, this maps to ATT&CK technique T1059, Command and Scripting Interpreter, particularly through browser-based scripting languages like JavaScript. The attack vector involves Initial Access via a public-facing form or low-privileged account, followed by Execution within the privileged admin interface, leading to Data Exfiltration or Impact on system integrity.

Mitigation strategies primarily involve upgrading to patched versions of Budibase, specifically version 3.50.0 and later for the legacy branch, or version 4.0.0 and above for newer deployments. These updates address the underlying issues in the jsonFormatter utility and the binding evaluation components by implementing proper input sanitization and output encoding. For organizations unable to immediately upgrade, temporary mitigations include restricting access to public write forms until patches are applied, enforcing strict Content-Security-Policy headers on all builder and admin interfaces to prevent inline script execution, and validating that any external datasources do not accept raw HTML or JavaScript from untrusted sources. Regular security audits of low-code platform configurations should also be conducted to ensure that administrative panels remain isolated from user-generated content rendering pipelines.

Responsible

GitHub M

Reservation

11/04/2026

Disclosure

11/20/2026

Moderation

accepted

CPE

ready

EPSS

0.00678

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!