CVE-2026-31018

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductDolibarr Erp\/crm
PublishedApr 21, 2026
First seenApr 21, 2026

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
dolibarr dolibarr_erp\/crmv ≤ 22.0.4—
dolibarr/dolibarrPackagistv ≤ 15.0.3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.