CVE-2026-122244
High 7.7No known exploitationFix status unknownBudibase: Cross-privilege Stored XSS in the Budibase Builder via broken HTML-escaping in `jsonFormatter.format()` rendered through `{@html}` in the CSP-less Builder origin
Vendor advisory: GHSA-r2q3-7m4h-63qg
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-79, CWE-116, CWE-1021
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | @budibase/server | all versions up to and including 3.38.1 | Not documented | GitHub Advisory Database |
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424 (opens in a new tab)
- https://github.com/Budibase/budibase/releases/tag/v3.50.0 (opens in a new tab)
- https://github.com/Budibase/budibase/releases/tag/v4.0.0 (opens in a new tab)
- https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg (opens in a new tab)
- GitHub Advisory GHSA-r2q3-7m4h-63qg (opens in a new tab)github-advisory