Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-31018: In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module i

36
Routine
HIGH 8.8UPGRADE

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.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.3% (top 80%)
CISA exploited listNo
WeaknessCWE-94, CWE-284
Published2026-04-21
Last modified2026-07-05
Publisher (CNA): MITRE · Vendor: dolibarr

Share: LinkedIn · X · Reddit

Last updated 2026-07-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

dolibarr dolibarr erp\/crm UPGRADE
Affected: <= 22.0.4
Fixed in: newer than 22.0.4
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy dolibarr-erpcrm || rpm -q dolibarr-erpcrm || dolibarr-erpcrm --version
2. UPGRADE to newer than 22.0.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade dolibarr-erpcrm
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade dolibarr-erpcrm
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.