CVE-2026-31018
High
Description
In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module is not applied consistently to all input parameters, allowing an authenticated user restricted to HTML/JavaScript editing to inject PHP code through unprotected inputs during website page creation.
SeverityHigh
CVSS8.8
Exploit probability—
ProductDolibarr Erp\/crm
PublishedApr 21, 2026
First seenApr 21, 2026
Weakness typeCWE-284Improper access controlCWE-94Code injection
How to fix
Sources list no fixed version or patch link for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dolibarr dolibarr_erp\/crm | v ≤ 22.0.4 | — |
| dolibarr/dolibarrPackagist | v ≤ 15.0.3 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.