Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @budibase/backend-core
  4. ›
  5. CVE-2026-42239

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

April 24, 2026 (updated May 11, 2026)

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.

References

  • github.com/Budibase/budibase/releases/tag/3.35.10
  • github.com/Budibase/budibase/security/advisories/GHSA-4f9j-vr4p-642r
  • github.com/advisories/GHSA-4f9j-vr4p-642r
  • nvd.nist.gov/vuln/detail/CVE-2026-42239

Code Behaviors & Features

Detect and mitigate CVE-2026-42239 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.35.10

Fixed versions

  • 3.35.10

Solution

Upgrade to version 3.35.10 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag

Source file

npm/@budibase/backend-core/CVE-2026-42239.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:38 +0000.