Skip to main content

Budibase EUVDEUVD-2026-131661

| CVE-2026-122244 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-20 GitHub_M GHSA-r2q3-7m4h-63qg
7.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain BASIC role or reach public write form
  2. Delivery
    Store quote-free script payload in shared external datasource row
  3. Exploit
    Builder/admin opens table and evaluates binding Preview
  4. Execution
    jsonFormatter leaves value unescaped, injected via {@html}
  5. Impact
    Script runs in CSP-less Builder origin, hijacking admin for full workspace takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a SHARED EXTERNAL datasource (e.g., an external Postgres/SQL table) that both the published app writes to and the Builder's dev preview queries live - internal Budibase tables use separate dev/prod databases and are NOT a viable channel. The attacker needs either BASIC write permission on that external table or access to a public data-collection form that permits unauthenticated writes to it. The payload must be free of double-quotes, digits, and the literals true/false/null to survive jsonFormatter tokenization (the advisory's working example is '<img src=x onerror=alert(window.xssproof=document.domain)>'). Execution is triggered only when a builder or admin subsequently opens that table in the Builder and evaluates a Handlebars binding whose Preview surfaces the value (the Data-section Formula column editor or any binding drawer). Limiting factors: required privileged-victim interaction (UI:R), dependence on an external rather than internal datasource, and a non-default write grant or public form. Aggravating factor: the Builder origin at /builder/* is served by nginx with no Content-Security-Policy, so inline event handlers run unrestricted.

Impact

This is a genuine, above-average-priority issue rather than a paper tiger, but it is not an emergency. The supplied CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N, 7.7 High) captures the key tension: although the vector is network-reachable, exploitation is gated by two real brakes - a low-privileged attacker foothold (PR:L: a BASIC application role, or on a public write form an unauthenticated visitor) and required victim interaction (UI:R: a builder or admin must later open the affected table and evaluate a Handlebars binding Preview). The scope change (S:C) and C:H/I:H are well justified because the payload executes in the higher-trust Builder origin, yielding effective workspace takeover (create datasources, run server-side JavaScript via automations, read/modify every table, manage users) - so the impact rating is not inflated. On exploitation signals: there is NO CISA KEV listing and NO EPSS score in the input, so widespread or automated exploitation cannot be asserted; the vuln.today decision label is 'this_week' (priority, not act_now/emergency). A detailed, environment-specific PoC with full reproduction steps is published in the GHSA advisory, so exploitability is well established even though it is not packaged as a standalone weaponized tool. One signal worth flagging for verification: the original vector marks AC:H, but the advisory notes that RowUtils.generateGoldenSample() preferentially evaluates the longest string per column, which makes payload delivery reliable rather than conditional - this points toward lower attack complexity than AC:H implies. Net: prioritize patching within the stated this-week window, especially for instances exposing shared external datasources or public write forms.

Exploit ScenarioDerived

A low-privileged BASIC user (or an unauthenticated visitor to a public data-collection form) submits a row into a shared external SQL datasource containing a quote/digit-free payload such as '<img src=x onerror=...>'. Later, a builder or admin opens that table in the Budibase Builder and evaluates a Handlebars binding in the Formula column editor or a binding drawer; the value is rendered as raw HTML in the CSP-less Builder origin and the script executes in the admin's session. A working, step-by-step PoC is published in the GHSA advisory; because exploitation requires that privileged victim to evaluate the value (UI:R), it is not fully automatic, but delivery is reliable once write access to a shared external table exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Stored cross-site scripting in the Budibase Builder allows a low-privileged BASIC application user - or an unauthenticated visitor to a public write form - to plant markup in a shared external datasource that later executes inside a builder or administrator's session whenever a Handlebars binding Preview surfaces the value. The chain combines a broken HTML escaper in jsonFormatter.format() with a {@html} sink in the binding evaluation panel, and the Builder SPA served at /builder/* carries no Content-Security-Policy, so injected handlers run unrestricted and can drive privileged Builder API actions and reach workspace data. Budibase versions prior to 3.50.0 are affected, with fixes in 3.50.0 (3.x line) and 4.0.0; a public PoC reference exists in the vendor advisory, and the issue is not confirmed as exploited in the wild (not in CISA KEV).

RemediationAI

Upgrade Budibase to 3.50.0 on the 3.x line or 4.0.0 on the 4.x line; the fix commit 5f37fb43728639c540cc7233283f1100e9315424 rewrites jsonFormatter.format() so that token matches, inter-token gaps and object keys are all passed through escapeHtml, and adds regression tests asserting that strings such as <img src=x onerror=...> and <script> keys are escaped (see https://github.com/Budibase/budibase/releases/tag/v3.50.0 and https://github.com/Budibase/budibase/releases/tag/v4.0.0). Where upgrading is not immediately possible, the practical compensating controls follow directly from the exploitation preconditions: remove BASIC write grants on external datasources that the Builder preview queries live, and disable or gate public write forms that post into such tables, since that grant/public form is the only documented way a low-privileged or anonymous writer reaches the builder's evaluation context - the trade-off is that legitimate feedback, survey or contact workflows lose their write path. Reducing the shared-datasource exposure by moving data-collection writes to internal Budibase tables (whose dev and prod databases are separate) also severs the channel, at the cost of reworking app data sources. Deploying a Content-Security-Policy that applies to the /builder/* origin, which currently has none and is where inline handlers execute unrestricted, constrains payload execution but must be scoped carefully against the Builder SPA's own inline script requirements. Note that exploitation additionally requires a builder or administrator to open the affected table and evaluate a binding whose Preview surfaces the value, so warning privileged users against previewing untrusted external-datasource data is a limited stopgap rather than a fix.

Affected VersionsENISA

budibase < 3.50.0

Affected Packages

npm @budibase/server no fix
euvd budibase fix: 3.50.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (with the advisory additionally classifying CWE-116 improper encoding and CWE-1021 improper restriction of rendered UI layers) in the frontend HTML formatter used by the Builder's binding Preview. packages/frontend-core/src/utils/jsonFormatter.ts calls .replace(/&/g, "&"), .replace(/</g, "<") and .replace(/>/g, ">"), each of which substitutes a character with itself, so the escaping chain is a no-op; inside the tokenizer only quoted JSON string values are passed through escapeHtml, while object keys and raw non-JSON strings are emitted verbatim. The result is inserted as live markup through {@html logLine.log} and {@html highlightedResult} in packages/builder/src/components/common/bindings/EvaluationSidePanel.svelte. Upstream, the ALL helper in packages/string-templates/src/helpers/index.ts returns a Handlebars.SafeString, so Handlebars performs no entity escaping and the attacker-controlled field value reaches the formatter intact. The advisory notes that the contentSecurityPolicy middleware (packages/backend-core/src/middleware/contentSecurityPolicy.ts) only decorates the server-rendered published-app document, leaving GET /builder/* as a CSP-less nginx-served static SPA where inline event handlers execute freely. The cross-privilege channel is specifically a shared external datasource queried live by both the published app and the Builder dev preview; internal Budibase tables keep separate dev and prod databases and are not a viable path. RowUtils.generateGoldenSample() prefers the longest string per column, which tends to select a long payload as the sampled value, and the payload must avoid double quotes, digits and the literals true/false/null so that jsonFormatter tokenization does not fragment it.

Know when Budibase gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.7 HIGH
AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

Attacker reliably controls the stored value and the Preview prefers the longest string, so AC:L; PR:L for the BASIC writer, UI:R since a builder must evaluate it, S:C as code runs in the higher-trust Builder origin.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 18:04 EUVD
CVE Published
Nov 20, 2026 - 16:50 cve.org
HIGH 7.7

DescriptionCVE.org

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.

Technical POC Analysis

CWE-79 (the advisory also tags CWE-116 and CWE-1021).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A high-severity stored cross-site scripting flaw in Budibase (all versions prior to 3.50.0) lets even basic application users or anonymous visitors to public write forms inject malicious markup that later executes in a builder or administrator's browser session. This enables an attacker to hijack privileged Builder sessions and reach workspace data, so security and IT leadership should treat it as a serious risk to administrative accounts across any Budibase deployment in use. The absence of a Content-Security-Policy in the Builder interface removes a key backstop, raising the likelihood that an injection succeeds.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting /builder/* access to trusted administrators, disabling public write forms, adding a Content-Security-Policy to the Builder SPA, and monitoring privileged Builder activity until upgrade to 3.50.0 or 4.0.0.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
Medium
popular open-source low-code platform, moderate self-hosted deployment footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2026-73300 CRITICAL POC
9.6 Aug 12

SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S

CVE-2026-31816 CRITICAL POC
9.1 Mar 09

Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att

CVE-2026-41428 CRITICAL POC
9.1 Apr 24

Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t

CVE-2026-25040 HIGH POC
8.8 Jan 29

Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]

CVE-2026-122247 HIGH POC
8.2 Nov 20

Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl

CVE-2026-73406 HIGH POC
7.5 Aug 12

Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email

CVE-2026-31818 CRITICAL
9.9 Apr 03

Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat

CVE-2026-73308 MEDIUM POC
5.7 Aug 12

OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden

CVE-2022-3225 MEDIUM POC
5.7 Sep 16

Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med

CVE-2026-30240 CRITICAL
9.6 Mar 09

Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app

CVE-2026-82244 CRITICAL
9.4 Aug 28

Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy