Skip to main content

Budibase EUVDEUVD-2026-32591

| CVE-2026-48149 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-27 security-advisories@github.com
8.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as BASIC user with table WRITE
  2. Delivery
    Inject Markdown/HTML XSS payload into bound column
  3. Exploit
    Payload stored server-side in datastore
  4. Execution
    Victim opens Markdown Text component
  5. Persist
    marked output rendered via innerHTML
  6. Impact
    Script runs in victim session, hijack/exfiltrate

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 an authenticated BASIC-tier Budibase account holding WRITE permission on a table whose column the app builder has bound to a Text component configured in Markdown mode - that specific binding is the condition that turns the column into a stored-XSS sink. Limiting factors: the attacker must be authenticated (PR:L, not anonymous), the targeted column must actually be rendered through a Markdown-mode Text component (a non-default UI choice the builder must have made), and the payload only achieves impact when another user or admin views the rendered content. These constraints keep exploitation scoped to applications that both expose Markdown rendering of user-writable data and grant write access to lower-trust accounts.

Impact

The CVSS 3.1 base score is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N): network-reachable, low attack complexity, requiring only low privileges, with high confidentiality and integrity impact and no availability impact. Per the vector this is authenticated - exploitation needs a valid low-privilege (BASIC) account, which materially narrows the attacker population versus an unauthenticated bug and points to insider or post-compromise abuse rather than mass internet exploitation. Note a discrepancy worth verifying: the vector lists UI:N (no user interaction), yet a stored XSS payload typically only fires when a victim views the rendered Markdown, which would usually imply UI:R; this may reflect that the rendering is automatic on page load, but defenders should treat the 'no interaction' claim cautiously. No EPSS score was provided in the input, so exploitation probability cannot be quantified here; the absence of KEV listing and of any referenced POC, combined with the authentication requirement, suggests this is a meaningful application-security fix rather than an emergency patch-now item - though for multi-tenant Budibase deployments where low-trust users hold WRITE on shared tables, the real risk is elevated.

Exploit ScenarioDerived

A low-privileged BASIC user who has WRITE permission on a table that a builder has surfaced through a Text component in Markdown mode enters a malicious payload (for example an image tag with an onerror handler) into the bound column. The payload is stored in the datastore and, when an administrator or other user opens the app screen, marked.parse renders it into the DOM and the script executes in the victim's authenticated session - enabling session token theft, actions on the victim's behalf, or data exfiltration. No public exploit is identified, but the technique is straightforward given the low attack complexity in the CVSS vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 27, 2026

Stored cross-site scripting in Budibase before 3.39.0 lets any low-privileged BASIC app user with WRITE access to a table inject persistent JavaScript that executes in the browser of anyone who later views the data. The flaw lives in the Text component's Markdown rendering, where untrusted column values are converted to HTML and written directly to the DOM without sanitization. No public exploit identified at time of analysis, and it is not listed in CISA KEV; the issue is fixed in 3.39.0.

RemediationAI

Vendor-released patch: 3.39.0 - upgrade Budibase to 3.39.0 or later, which adds sanitization to the Markdown rendering path; see the advisory at https://github.com/Budibase/budibase/security/advisories/GHSA-57p7-9h9w-xqpw for fix details. If immediate upgrade is not possible, the most direct compensating controls are to avoid configuring Text components in Markdown mode against any column that lower-trust users can write, switching those components to plain-text rendering (trade-off: loses Markdown formatting for legitimate content), and to tighten table permissions so untrusted BASIC users do not hold WRITE on columns surfaced through Markdown Text components (trade-off: may break workflows that depend on user-supplied data entry). A content-security-policy that forbids inline script execution can reduce impact of any residual injection but will not block all DOM-based XSS vectors and may interfere with the app's own inline scripts.

Affected VersionsENISA

budibase < 3.39.0

Affected Packages

euvd budibase fix: 3.39.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Budibase is an open-source low-code platform for building internal tools and apps over a backing datastore. The vulnerability is a CWE-79 (Improper Neutralization of Input During Web Page Generation) stored XSS in packages/bbui/src/Markdown/MarkdownViewer.svelte, where the output of marked.parse(markdown) is assigned to innerHTML (Svelte's {@html} sink) with no HTML sanitizer such as DOMPurify in the path. The marked library faithfully passes raw HTML embedded in Markdown through to its output, so a payload like an <img onerror> tag or inline <script> survives parsing and is rendered as live markup. Because Svelte's normal auto-escaping is deliberately bypassed by the innerHTML binding, any table column a builder binds to a Text component in Markdown mode becomes an XSS sink that stores the payload server-side until rendered.

Know when the next one hits your stack

  • 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

GitHub Advisory PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

DescriptionGitHub Advisory

Budibase is an open-source low-code platform. Prior to 3.39.0, the Budibase Text component renders markdown by assigning marked.parse(markdown) straight to innerHTML with no sanitizer (packages/bbui/src/Markdown/MarkdownViewer.svelte:22). Any column a builder binds to a Text component in Markdown mode is a stored-XSS sink writable by every BASIC app user with WRITE on the underlying table. This vulnerability is fixed in 3.39.0.

Executive ViewAI

Why It Matters

Budibase versions before 3.39.0 contain a stored cross-site scripting vulnerability in the Text component that allows authenticated users with table write permissions to inject persistent malicious scripts executed in the browsers of anyone viewing that data. This creates enterprise-wide risk to user sessions, data integrity, and potential lateral movement across affected deployments. A vendor patch is available and deployment should be prioritized.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate upgrade is not feasible, restrict WRITE table access to trusted administrators only and disable Markdown rendering in sensitive Text components until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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 No
EPSS 0.0%
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

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
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.

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