← All advisories

CVE-2026-122244highBroken access control2026-11-20

CVE-2026-122244: Budibase app users, or anonymous visitors to a public form, could plant script that runs in a builder's or admin's session when they preview a Handlebars binding (fixed 3.50.0)

A BASIC Budibase app user, or an unauthenticated visitor to a public write form, could store HTML/JavaScript in ordinary row data. When a builder or admin later evaluated a Handlebars binding whose Preview showed that value (for example the Formula column editor or any binding drawer), it rendered as raw HTML and the script ran in the Builder origin, which had no Content-Security-Policy. That gives the attacker the builder's privileges. Fixed in 3.50.0 and 4.0.0.

01.

What it is

jsonFormatter.format() in packages/frontend-core/src/utils/jsonFormatter.ts only escaped quoted JSON string values; plain strings and object keys were returned unescaped, and EvaluationSidePanel.svelte inserted the result with {@html}.

The Builder SPA served by nginx had no Content-Security-Policy, so the injected script could use the builder or admin session: create datasources, run server-side JavaScript via automations, read and change every table and manage users.

The GitHub advisory (published 20 November 2026) lists @budibase/server <= 3.38.1 as affected; the CVE record says versions before 3.50.0 and that 3.50.0 and 4.0.0 contain the fix (commit 5f37fb4).

02.

How to check

  1. Check your Budibase version: anything before 3.50.0 is affected.
  2. Review tables that public forms or BASIC users can write to for stored <script>, <img onerror> or similar markup.
03.

How to fix

  1. Upgrade Budibase to 3.50.0 or later (4.0.0 also contains the fix).
  2. Until then, avoid previewing bindings over data written by app users or public forms, and add a Content-Security-Policy for /builder/ at your proxy.
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.