CVE-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
CVSS 7.7 · High · EPSS 0.4% · Public exploit
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- budibaseNo fix published
- @budibase/server npmNo fix published
Check the installed version:
npm ls @budibase/serverAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: node
Affected products and versions
budibase
- Versions
- < 3.50.0: Affected
No fix published
@budibase/server npm
- Affected ranges
- SEMVER: ≤ 3.38.1
No fix published
Original sources
- https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg
- https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424
- https://github.com/Budibase/budibase/releases/tag/v3.50.0
- https://github.com/Budibase/budibase/releases/tag/v4.0.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-122244