{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.35.10"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b7aaf4fa4b347134704ba20ef56e6f023ff0a208"
            }
          ],
          "repo": "https://github.com/budibase/budibase",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4f9j-vr4p-642r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1004"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42239.json"
  },
  "details": "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.",
  "id": "CVE-2026-42239",
  "modified": "2026-08-12T03:51:36.169736332Z",
  "published": "2026-05-07T18:49:59.180Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Budibase/budibase/releases/tag/3.35.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-4f9j-vr4p-642r"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42239.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42239"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Budibase auth session cookies are set with httpOnly:false — any XSS can lead to full account takeover"
}