CVE-2026-31018: In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module i
CVE-2026-31018 is a high-severity flaw (CVSS 8.8) affecting dolibarr erp\/crm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-07-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31018?
dolibarr erp\/crm: upgrade to newer than 22.0.4. Exact commands for each OS are on this page.
Is CVE-2026-31018 being exploited?
CVE-2026-31018 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31018 affect?
CVE-2026-31018 affects dolibarr erp\/crm. Severity is high (CVSS 8.8). 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
How urgent is CVE-2026-31018?
Priority 36/100. High severity
Software pages
Related CVEs
- CVE-2026-22666 HIGH 7.2 UPGRADE Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the
- CVE-2025-67486 HIGH 7.2 UPGRADE Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package
- CVE-2026-77923 MEDIUM 4.3 UPGRADE Dolibarr 21.0.0 before 24.0.0 contains an authorization bypass vulnerability caused by an inverted boolean con
- CVE-2019-25710 HIGH 8.2 UPGRADE Dolibarr ERP-CRM 8.0.4 contains an SQL injection vulnerability in the rowid parameter of the admin dict.php en
- CVE-2018-25357 CRITICAL 9.8 UPGRADE Dolibarr ERP CRM 7.0.3 contains a remote code execution vulnerability that allows unauthenticated attackers to