high8.7
CVE-2026-130848
Dolibarr ERP CRM through 24.0.3 contains a code injection vulnerability in Website::importWebSite() that allows website editors without PHP permission to execu…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Dolibarr
| Product | Affected versions |
|---|---|
| Dolibarr ERP CRM | through 24.0.3 Version 0 ≤24.0.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Dolibarr/dolibarr/commit/71e0009105ed83057e66b11c94b552b0c378d32c
- https://github.com/Dolibarr/dolibarr/blob/24.0.3/htdocs/website/class/website.class.php#L1364-L1365
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-through-24.0.3-code-injection-via-website-template-import
- https://github.com/advisories/GHSA-7pjv-w5cj-v97w
- https://nvd.nist.gov/vuln/detail/CVE-2026-130848