CVE-2026-31018

CVE-2026-31018 is a high-severity vulnerability in Dolibarr Dolibarr Erp/crm with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.

Key facts

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.

Frequently asked questions

What is CVE-2026-31018?
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.
How severe is CVE-2026-31018?
CVE-2026-31018 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2026-31018 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (19th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-31018?
CVE-2026-31018 affects Dolibarr Dolibarr Erp/crm. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-31018?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2026-31018 have an EU (EUVD) identifier?
Yes. CVE-2026-31018 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24134.
When was CVE-2026-31018 published?
CVE-2026-31018 was published on 2026-04-21 and last updated on 2026-07-05.

References

EU advisories (EUVD)

Affected products (1)

More vulnerabilities in Dolibarr Dolibarr Erp/crm

All CVEs affecting Dolibarr Dolibarr Erp/crm →

Other CWE-94 (Code Injection) vulnerabilities

Browse all CWE-94 (Code Injection) vulnerabilities →