Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject XSS payload in entity name
-
DeliveryPrivileged user views entity
-
ExploitJavaScript reads document.cookie
-
ExecutionExfiltrate JWT to attacker server
-
ImpactReplay 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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
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.
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
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
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
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
Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep
Unauthenticated account takeover of pending invited users in Budibase Server (@budibase/server) versions 3.41.0 through
EUVD-2026-28429
GHSA-4f9j-vr4p-642r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB