Stored cross-site scripting in Budibase Builder via datasource values
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Spoofing, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1021 and CWE-79.
Summary
Budibase before 3.50.0 and @budibase/server through 3.38.1 are affected. Markup stored in a shared external datasource is rendered as raw HTML in the Builder's binding preview, a flaw classified as CWE-79. An unauthenticated visitor to a public write form or a BASIC application user can store the markup, and a builder or administrator who previews it runs the script in their higher-privileged session. Exploitation requires user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Budibase | budibase | before 3.50.0 | 3.50.0 | Patch available | CNA |
| — | @budibase/server (npm) | up to 3.38.1 | — | No fix listed | GHSA-r2q3-7m4h-63qg |
- budibase VendorBudibase Affected before 3.50.0 Fixed in 3.50.0 Patch available CNA
- @budibase/server (npm) Vendor— Affected up to 3.38.1 Fixed in — No fix listed GHSA-r2q3-7m4h-63qg
Remediation
Upgrade Budibase to version 3.50.0 or 4.0.0, which fix the flaw. The sources list no fixed version for @budibase/server.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
- Fix · CNA budibase (Budibase) Fixed in 3.50.0
Timeline
- 2026-11-20 Threatist record created from CVE-2026-122244
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-21 Alias added: GHSA-r2q3-7m4h-63qg
- 2026-11-21 Affected versions changed · GHSA-r2q3-7m4h-63qg
- 2026-11-21 CVSS score added · GHSA-r2q3-7m4h-63qg
- 2026-11-21 Weakness changed · GHSA-r2q3-7m4h-63qg
- 2026-11-21 6 new references · GHSA-r2q3-7m4h-63qg
- 2026-11-25 EPSS moved to the below the 50th percentile
References
Other 5
- 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://github.com/Budibase/budibase
More Budibase vulnerabilities
- TI-2026-39242 Budibase: Anonymous NoSQL operator injection via published-app query templates CVSS 3.1CRITICAL 10.0
- TI-2026-51076 Budibase before 3.40.0 SQL Injection via Unauthenticated Webhook CVSS 4.0CRITICAL 9.0
- TI-2026-24369 Budibase Universal Auth Bypass via Webhook Query Param Injection CVSS 3.1CRITICAL 9.1
- TI-2026-56709 Budibase before 3.41.3 Remote Code Execution via Plugin eval() CVSS 4.0CRITICAL 9.4
- TI-2026-51425 Budibase: SQL Injection via `multipleStatements: true` CVSS 3.1CRITICAL 9.6
- TI-2026-51075 Budibase before 3.40.0 Arbitrary File Write via Path Traversal CVSS 4.0CRITICAL 9.4
Sources
- CVE-2026-122244 · CVE Program
- CVE-2026-122244 · NVD
- FIRST EPSS
- GHSA-r2q3-7m4h-63qg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences