← VULNERABILITIES

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

High · 7.7
CVSS
7.7
EPSS
0.40% (p26)
Published
2026-11-20
Age
11d old
Modified
2026-11-21
Product
Budibase budibase
Aliases
GHSA-r2q3-7m4h-63qg

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

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.

Affected packages

EcosystemPackageRangeFixed
npm@budibase/server<= 3.38.1—

Sources

  • NVD · first seen 11d ago · NVD terms of use
  • OSV · first seen 11d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 11d ago · CC-BY 4.0
  • CVE List · first seen 11d ago · CVE Terms of Use

References

JSON