Dolibarr ERP CRM through 24.0.3 Code Injection via Website Template Import
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 17, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 17, 2026
Description
Dolibarr ERP CRM through 24.0.3 contains a code injection vulnerability in Website::importWebSite() that allows website editors without PHP permission to execute code by importing templates. Attackers can import a template zip whose javascript.js.php contains PHP code, which the public javascript.js.php endpoint includes, executing code as the web server user.
| Product | Versions |
|---|---|
| Dolibarr ERP CRM Dolibarr | 24.0.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- https://github.com/Dolibarr/dolibarr/commit/71e0009105ed83057e66b11c94b552b0c378d32cPatch
- https://github.com/Dolibarr/dolibarr/blob/24.0.3/htdocs/website/class/website.class.php#L1364-L1365Technical Details
- VulnCheck Advisory: Dolibarr ERP CRM through 24.0.3 Code Injection via Website Template ImportThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.