Read the docs

Stored cross-site scripting in Budibase Builder via datasource values

Priority HIGH 69CWE-1021Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00402 26th percentileScored 2026-11-30
Fix Fixed budibase (Budibase): 3.50.0

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

VendorProductAffected versionsFixed inStatusSource
Budibasebudibasebefore 3.50.03.50.0Patch availableCNA
—@budibase/server (npm)up to 3.38.1—No fix listedGHSA-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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*——Budibase
  • cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:* Versions — — ·Budibase

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

  1. 2026-11-20 Threatist record created from CVE-2026-122244
  2. 2026-11-20 CISA SSVC decision points changed
  3. 2026-11-21 Alias added: GHSA-r2q3-7m4h-63qg
  4. 2026-11-21 Affected versions changed · GHSA-r2q3-7m4h-63qg
  5. 2026-11-21 CVSS score added · GHSA-r2q3-7m4h-63qg
  6. 2026-11-21 Weakness changed · GHSA-r2q3-7m4h-63qg
  7. 2026-11-21 6 new references · GHSA-r2q3-7m4h-63qg
  8. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • 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
See all 107 →

Sources