CVE-2026-31018: n/a
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.
AI Analysis
Technical Summary
CVE-2026-31018 affects Dolibarr ERP & CRM versions up to and including 22.0.4. The issue lies in the Website module where enforcement of PHP code detection and editing permissions is not consistently applied across all input parameters. As a result, an authenticated user restricted to editing HTML/JavaScript can bypass these restrictions and inject PHP code during the creation of website pages. This can lead to full compromise of confidentiality, integrity, and availability of the affected system. The vulnerability is categorized under CWE-284 (Improper Access Control) and CWE-94 (Improper Control of Generation of Code). No official patch or remediation guidance is currently provided, and no known exploits in the wild have been reported.
Potential Impact
An authenticated user with limited permissions to edit only HTML/JavaScript can escalate privileges to inject and execute arbitrary PHP code. This can lead to complete system compromise, including unauthorized data access, modification, and potential denial of service. The vulnerability impacts confidentiality, integrity, and availability of the affected Dolibarr ERP & CRM installations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Website module to trusted users only and monitor for suspicious activity related to website page creation inputs. Avoid granting HTML/JavaScript editing permissions to untrusted users. Follow up with Dolibarr vendor advisories for updates on patches or official mitigations.
CVE-2026-31018: n/a
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.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/dolibarr/dolibarrRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-31018 affects Dolibarr ERP & CRM versions up to and including 22.0.4. The issue lies in the Website module where enforcement of PHP code detection and editing permissions is not consistently applied across all input parameters. As a result, an authenticated user restricted to editing HTML/JavaScript can bypass these restrictions and inject PHP code during the creation of website pages. This can lead to full compromise of confidentiality, integrity, and availability of the affected system. The vulnerability is categorized under CWE-284 (Improper Access Control) and CWE-94 (Improper Control of Generation of Code). No official patch or remediation guidance is currently provided, and no known exploits in the wild have been reported.
Potential Impact
An authenticated user with limited permissions to edit only HTML/JavaScript can escalate privileges to inject and execute arbitrary PHP code. This can lead to complete system compromise, including unauthorized data access, modification, and potential denial of service. The vulnerability impacts confidentiality, integrity, and availability of the affected Dolibarr ERP & CRM installations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Website module to trusted users only and monitor for suspicious activity related to website page creation inputs. Avoid granting HTML/JavaScript editing permissions to untrusted users. Follow up with Dolibarr vendor advisories for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e78a2b19fe3cd2cdda97f8
Added to database: 04/21/2026, 14:31:07 UTC
Last enriched: 07/05/2026, 21:45:38 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 112
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.