Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain BASIC role or reach public write form
-
DeliveryStore quote-free script payload in shared external datasource row
-
ExploitBuilder/admin opens table and evaluates binding Preview
-
ExecutionjsonFormatter leaves value unescaped, injected via {@html}
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
EUVD-2026-131661
GHSA-r2q3-7m4h-63qg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB