Descrizione
Budibase is an open-source low-code platform. Prior to 3.50.0, a BASIC application user, or an unauthenticated visitor to a public write form, can store markup in a shared external datasource that a builder or administrator later evaluates in any Handlebars binding Preview that surfaces the value, including the Data-section Formula column editor or any binding drawer. jsonFormatter.format() in packages/frontend-core/src/utils/jsonFormatter.ts leaves raw strings and object keys unescaped, while packages/builder/src/components/common/bindings/EvaluationSidePanel.svelte inserts the formatted result as raw HTML. The Handlebars SafeString path preserves the attacker-controlled value, and the Builder origin lacks a Content-Security-Policy that would block the resulting script. This permits stored script execution in the higher-privileged builder or administrator session rather than the writer's own role, allowing privileged Builder API actions and workspace data access. This issue is fixed in versions 3.50.0 and 4.0.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.7, EPSS 0.7% (percentile 53).
Versioni da aggiornare
- Budibase budibase: vulnerabile la versione
< 3.50.0→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Budibase | budibase | < 3.50.0 | — |
Riferimenti
- Riferimentohttps://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424
- Riferimentohttps://github.com/Budibase/budibase/releases/tag/v3.50.0
- Riferimentohttps://github.com/Budibase/budibase/releases/tag/v4.0.0
- Riferimentohttps://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg
- Riferimentohttps://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg