CVE-2026-42239
published 2026-05-07CVE-2026-42239: 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…
PriorityP339high8.1CVSS 3.1
AVNACLPRHUIRSCCHIHAN
EPSS
0.28%
20.0th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| budibase | backend-core | >= 0 < 3.35.10 | 3.35.10 |
| budibase | budibase | < 3.35.10 | 3.35.10 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
budibase up to 3.35.9 utils.ts budibase:auth cookie httponly flag (GHSA-4f9j-vr4p-642r)
vuldb·2026-05-07·CVSS 8.1
CVE-2026-42239 [HIGH] budibase up to 3.35.9 utils.ts budibase:auth cookie httponly flag (GHSA-4f9j-vr4p-642r)
A vulnerability was found in budibase up to 3.35.9. It has been classified as problematic. This vulnerability affects the function budibase:auth of the file packages/backend-core/src/utils/utils.ts. Performing a manipulation results in cookie without 'httponly' flag.
This vulnerability is reported as CVE-2026-42239. The attack is possible to be carried out remotely. No exploit exists.
Upgrading the affected component is recommended.
GHSA
Budibase auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover
ghsa·2026-04-24
CVE-2026-42239 [HIGH] CWE-1004 Budibase auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover
Budibase auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover
### Summary
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`. Given that Budibase has had XSS vulnerabilities (GHSA-gp5x-2v54-v2q5 — stored XSS via unsanitized entity names, published April 2, 2026), 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.
### Details
`packages/backend-core/src/utils/utils.ts`, lines 215-226:
```typescript
const config: SetOption = {
expires:
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-05-07
Published