Skip to main content

Sensitive Cookie Without 'HttpOnly' Flag

CVE-2026-42239

Severity High
Score 8.1/10

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,this means every XSS becomes a full account takeover -- the attacker steals the JWT and has persistent access to the victim's account. Affected versions are prior to 3.35.10.

  • LOW
  • NETWORK
  • HIGH
  • CHANGED
  • REQUIRED
  • HIGH
  • HIGH
  • NONE

CWE-1004 - Sensitive Cookie Without 'HttpOnly' Flag

The software uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag.

References

Advisory Timeline

  • Published