All vulnerabilities

Servers and applications

CVE-2026-42239

Auth session cookie set with httpOnly:false — any XSS leads to full account takeover

Severity
High 8.1
Published
21 Apr 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.35.10
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-1004
Attack
Over the network · Needs an administrator account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
Also known as
GHSA-4f9j-vr4p-642r
Sources
NVD, Project advisories (GitHub)

Description

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.

packages/backend-core/src/utils/utils.ts, lines 215-226:

This function is called for setting the budibase:auth cookie which contains the signed JWT session token. With httpOnly: false, any JavaScript execution context (XSS, injected script, browser extension) can read the token via document.cookie.

Missing flags:

From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · cpe:a:budibase:budibase
  • Every version before 3.35.10
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.35.10

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-42239
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-42239
  • GitHub Advisory Database https://github.com/advisories/GHSA-4f9j-vr4p-642r
  • github.com https://github.com/Budibase/budibase/security/advisories/GHSA-4f9j-vr4p-642r