Skip to main content

Budibase CVE-2026-42239

| EUVDEUVD-2026-28429 HIGH
Sensitive Cookie Without 'HttpOnly' Flag (CWE-1004)
2026-05-07 GitHub_M GHSA-4f9j-vr4p-642r
8.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Inject XSS payload in entity name
  2. Delivery
    Privileged user views entity
  3. Exploit
    JavaScript reads document.cookie
  4. Execution
    Exfiltrate JWT to attacker server
  5. Impact
    Replay JWT for persistent account access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V3 - Web Frontend Security HttpOnly cookie flag
Exploitation Conditions

Requires two preconditions to achieve account takeover: First, the presence of an exploitable Cross-Site Scripting (XSS) vulnerability in the Budibase instance - this could be stored XSS in entity names (confirmed in GHSA-gp5x-2v54-v2q5), reflected XSS in query parameters, or DOM-based XSS in client-side rendering. Second, requires a privileged user (PR:H - administrator or developer with access to sensitive entities) to trigger the XSS payload through normal platform usage (UI:R - viewing entity lists, dashboards, or reports). The cookie misconfiguration itself is present in default Budibase deployments prior to 3.35.10 requiring no special configuration. Attack vector is network-based (AV:N) meaning remote exploitation is possible without local access. Attack complexity is low (AC:L) once an XSS vector is identified. Scope change (S:C) indicates the JWT token can be used beyond the XSS context for persistent access. Limitations on exploitation: requires chaining with another vulnerability (XSS), requires victim user interaction to view malicious content, and relies on network visibility to exfiltration endpoint (blockable by egress filtering though bypasses exist via DNS exfiltration or legitimate external resources).

Impact

Real-world risk is HIGH due to confirmed prior XSS vulnerabilities in Budibase ecosystem that can leverage this cookie exposure. The CVSS score of 8.1 (High) reflects the potential for complete account takeover (C:H/I:H) with scope change (S:C), though requires privileged user interaction (PR:H/UI:R) limiting automatic exploitation. Attack complexity is low (AC:L) and vector is network-based (AV:N). The critical multiplier here is that this vulnerability does not stand alone - it amplifies the impact of every XSS bug from session riding to persistent credential theft. GitHub security advisory GHSA-4f9j-vr4p-642r explicitly links this to GHSA-gp5x-2v54-v2q5, a stored XSS via unsanitized entity names published April 2026, creating a proven attack chain. The missing secure flag means cookies can be intercepted over HTTP if HTTPS is not enforced. Missing sameSite allows cross-site request attachment attacks. No EPSS or KEV data available. SSVC assessment: exploitation status is publicly available (GitHub advisory with PoC code), technical impact is total (account takeover), automatable is no (requires XSS chaining). Priority is MEDIUM-HIGH for organizations running Budibase, especially if exposed to untrusted users who can create entities. The fix is simple (configuration change) and available in released version 3.35.10, reducing urgency compared to unpatched vulnerabilities.

Exploit ScenarioDerived

Attacker discovers a stored XSS vulnerability in Budibase entity name fields (as documented in GHSA-gp5x-2v54-v2q5). Attacker creates a database entity with name containing JavaScript payload that reads document.cookie and exfiltrates it to attacker-controlled server via image tag or fetch request. When legitimate privileged user (administrator or developer) views the entity list in Budibase UI, the XSS executes and sends their budibase:auth JWT cookie to the attacker. Attacker extracts the JWT from their exfiltration server logs and uses it in Authorization headers or cookie replay to authenticate as the victim, gaining persistent access to their Budibase account including data access, configuration changes, and potentially code execution via automation features.

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 07, 2026

Session hijacking via JavaScript-readable authentication cookies in Budibase versions prior to 3.35.10 allows any Cross-Site Scripting (XSS) vulnerability to escalate into full account takeover. The budibase:auth cookie containing the JWT session token is set with httpOnly: false, enabling JavaScript to read it via document.cookie. Combined with confirmed prior XSS vulnerabilities in Budibase (GHSA-gp5x-2v54-v2q5), attackers can exfiltrate session tokens and gain persistent access to victim accounts. The cookie also lacks secure and sameSite flags, exposing tokens over plaintext HTTP. No public exploit identified at time of analysis. EPSS data not available. Patch available in version 3.35.10.

RemediationAI

Upgrade to Budibase version 3.35.10 or later where the fix has been implemented in pull request #18571 titled 'Set budibase:auth cookie with secure flag'. The patch sets httpOnly: true, secure: true, and sameSite: 'lax' on the authentication cookie. Upgrade path: npm update @budibase/backend-core to 3.35.10 or upgrade the full Budibase platform to 3.35.10. If immediate upgrade is not possible, implement compensating controls: deploy strict Content Security Policy (CSP) with 'script-src self' to block inline JavaScript and external script injection (trade-off: may break legitimate inline scripts requiring CSP nonce implementation), enable HTTPS-only access and configure HSTS headers to prevent downgrade attacks (trade-off: requires valid TLS certificates), implement Web Application Firewall (WAF) rules to detect and block XSS payloads targeting cookie exfiltration patterns (trade-off: requires tuning to avoid false positives and can be bypassed with encoding). Review and remediate any XSS vulnerabilities in the Budibase instance especially in entity name fields per GHSA-gp5x-2v54-v2q5. Vendor advisory: https://github.com/Budibase/budibase/security/advisories/GHSA-4f9j-vr4p-642r.

Affected VersionsENISA

budibase < 3.35.10

Affected Packages

npm @budibase/backend-core fix: 3.35.10
euvd budibase fix: 3.35.10

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 vulnerability resides in Budibase's cookie configuration at packages/backend-core/src/utils/utils.ts where the budibase:auth cookie is set without httpOnly, secure, or sameSite flags. The httpOnly flag is a critical browser security control defined in RFC 6265 that prevents JavaScript from accessing cookies through document.cookie API. Without it, cookies are exposed to any JavaScript execution context including XSS payloads, browser extensions, and injected scripts. The JWT session token stored in this cookie is the primary authentication credential for Budibase sessions. This maps to CWE-1004 (Sensitive Cookie Without 'HttpOnly' Flag), a known weakness in web application security. The affected product is cpe:2.3:a:budibase:budibase specifically the npm package @budibase/backend-core prior to version 3.35.10.

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

GitHub Advisory PRIMARY 8.1 HIGH
AV:N/AC:L/PR:H/UI:R/S:C/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
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionGitHub Advisory

Budibase is an open-source low-code platform. Prior to version 3.35.10, the budibase:auth cookie containing the JWT session token is set with httpOnly: false at packages/backend-core/src/utils/utils.ts:218. JavaScript can read this cookie via document.cookie. This means every XSS becomes a full account takeover - the attacker steals the JWT and has persistent access to the victim's account. The cookie also lacks secure: true (sent over plaintext HTTP) and sameSite attribute. This issue has been patched in version 3.35.10.

Executive ViewAI

Why It Matters

Budibase versions prior to 3.35.10 contain a session hijacking vulnerability that allows attackers to steal authentication tokens via JavaScript when combined with XSS attacks, enabling full account takeover of any user accessing the platform. Organizations running affected versions face critical risk of unauthorized access to their Budibase deployments and any connected data or applications, particularly if users access the platform over unencrypted connections.

Business Impact: High
Compensating Controls

Vendor-released patch: version 3.35.10. Until patching is complete: (1) Restrict Budibase access to HTTPS only via network controls or WAF rules to prevent plaintext token transmission; (2) Implement Content Security Policy headers to mitigate XSS exploitation vectors; (3) Enable multi-factor authentication on all Budibase user accounts to add additional account takeover protection; (4) Monitor and log all authentication token usage patterns for anomalous access.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

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-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-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

CVE-2026-73306 MEDIUM POC
5.3 Aug 12

Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep

CVE-2026-100684 CRITICAL
9.2 Sep 26

Unauthenticated account takeover of pending invited users in Budibase Server (@budibase/server) versions 3.41.0 through

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