Executive brief
Dolibarr ERP & CRM is a suite of business management software used for managing customers, inventory, and websites. A security flaw in its website builder module allows users who should only be able to edit basic text and layout to instead run malicious code on the server. This could lead to a complete takeover of the system, theft of sensitive business data, or disruption of operations.
Technical details
A Remote Code Execution (RCE) vulnerability exists in the Website module of Dolibarr ERP/CRM due to improper access control and code injection (CWE-94, CWE-284). While the application defines distinct permission levels for static (HTML/JS) versus dynamic (PHP) content editing, the validation logic is inconsistently applied during the 'Create page from scratch or from a page template' workflow. An authenticated attacker with low-level permissions (restricted to HTML/JS) can bypass these restrictions by injecting PHP code into unprotected input parameters during page creation. This allows for arbitrary code execution on the underlying server. The vulnerability affects versions up to and including 22.0.4.
Affected products
- Dolibarr Dolibarr ERP & CRM <= 22.0.4
Timeline
- 2026-02-06: disclosed: Reported to vendor and MITRE
- 2026-02-12: other: Vendor acknowledged the issue
- 2026-04-21: advisory: NVD publication date