Template injection in Budibase row search lets users run JavaScript
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
Budibase server before 4.0.0 contains a server-side template injection flaw in row search, tracked as CWE-1336. Improper neutralization of template engine syntax lets authenticated users with table read permission run JavaScript by injecting Handlebars helpers into search query values. A successful attacker can read OAuth2 access and refresh tokens of SSO users or cause a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
Budibase before 4.0.0 contains a server-side template injection vulnerability that allows authenticated users with table read permission to execute JavaScript by injecting Handlebars js helpers into row search query values. Attackers can submit base64-encoded JavaScript through the search endpoint, which enrichSearchContext() runs in an isolated-vm sandbox, to read OAuth2 access and refresh tokens of SSO users or cause denial of service.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade the Budibase server to version 4.0.0, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA server (budibase) Fixed in 4.0.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
budibase server 4.0.0
12 records Highest priority Priority HIGH 3 HIGH, 6 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2026-98925 Budibase workspace backup authorization bypass via backupIdPriority HIGH 73
- TI-2026-98924 Query injection in Budibase ArangoDB and Snowflake datasourcesPriority HIGH 72
- TI-2026-98934 Authorization bypass in Budibase Server exposes rows hidden by view filtersPriority MEDIUM 64
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137496
- 2026-11-27 Alias added: GHSA-m767-75pv-362g
- 2026-11-30 CISA SSVC decision points changed
References
More Budibase vulnerabilities
- TI-2026-39242 Budibase: Anonymous NoSQL operator injection via published-app query templates CVSS 3.1CRITICAL 10.0
- TI-2026-51076 Budibase before 3.40.0 SQL Injection via Unauthenticated Webhook CVSS 4.0CRITICAL 9.0
- TI-2026-24369 Budibase Universal Auth Bypass via Webhook Query Param Injection CVSS 3.1CRITICAL 9.1
- TI-2026-56709 Budibase before 3.41.3 Remote Code Execution via Plugin eval() CVSS 4.0CRITICAL 9.4
- TI-2026-51425 Budibase: SQL Injection via `multipleStatements: true` CVSS 3.1CRITICAL 9.6
- TI-2026-51075 Budibase before 3.40.0 Arbitrary File Write via Path Traversal CVSS 4.0CRITICAL 9.4
Sources
- CVE-2026-137496 · CVE Program
- CVE-2026-137496 · NVD
- FIRST EPSS
- GHSA-m767-75pv-362g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences