CVE-2026-31018
In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- dolibarr.com
- github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.md
- nvd.nist.gov/vuln/detail/CVE-2026-31018
- github.com/Dolibarr/dolibarr/commit/ba28d16da4cc0c221f49a878fecc8425501ceb96
- github.com/Dolibarr/dolibarr/releases/tag/23.0.0
- github.com/advisories/GHSA-676v-wh57-p375
- nvd.nist.gov/vuln/detail/CVE-2026-31018
- cve.org/CVERecord?id=CVE-2026-31018
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.