Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dolibarr | Dolibarr Erp\/Crm | <= 22.0.4 |
Related Weaknesses (CWE)
References
- http://dolibarr.comProduct
- https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.mdThird Party Advisory
FAQ
What is CVE-2026-31018?
CVE-2026-31018 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 restric...
How severe is CVE-2026-31018?
CVE-2026-31018 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31018?
Check the references section above for vendor advisories and patch information. Affected products include: Dolibarr Dolibarr Erp\/Crm.