CVE-2026-31018: In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website modul...
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-31018 affects Dolibarr ERP & CRM 22.0.4 and earlier. A logged-in user who should only edit website HTML or JavaScript may be able to add PHP code during page creation. That can turn a limited content-editing account into a serious system compromise risk.
Executive priority
Prioritize remediation for internet-facing or broadly used Dolibarr systems. The flaw can let a limited authenticated editor affect confidentiality, integrity, and availability. If the Website module is unused, disabling or tightly restricting it can reduce immediate business risk while vendor guidance is reviewed.
Technical view
The issue is inconsistent PHP code detection and editing-permission enforcement in Dolibarr’s Website module. Unprotected input parameters during website page creation may accept PHP from an authenticated low-privilege user. The CVSS 3.1 score is 8.8, reflecting network access, low complexity, low privileges, and high confidentiality, integrity, and availability impact.
Likely exposure
Organizations using Dolibarr ERP & CRM version 22.0.4 or earlier with the Website module enabled are potentially exposed. Risk is higher where non-admin users can create or edit website pages.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. Exploitation requires authentication but no user interaction, according to the CVSS vector. Public reference material exists, so defenders should treat this as actionable exposure.
Researcher notes
Evidence identifies Dolibarr ERP & CRM <= 22.0.4 and the Website module. The bundled affected CPE data is incomplete, and no official fixed version is provided in the supplied sources. Avoid assuming exploitation in the wild without KEV or vendor confirmation.
Mitigation direction
Identify Dolibarr deployments and versions, especially 22.0.4 and earlier.
Check Dolibarr vendor guidance for fixed versions or official mitigations.
Limit Website module page creation and editing to trusted administrators.
Review and reduce accounts granted HTML or JavaScript website editing rights.
Monitor website content for unexpected PHP code or unauthorized page changes.
Validation and detection
Confirm whether Dolibarr ERP & CRM is deployed.
Record the installed Dolibarr version and compare with 22.0.4 or earlier.
Determine whether the Website module is enabled.
List users allowed to create or edit website pages.
Review recent website page changes for unexpected server-side code.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-284: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.