CVE-2026-31018
HIGH 8.8CVSS 3.1Dolibarr Allows Code Injection through its Website Module
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.
- Published
- 21 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-676v-wh57-p375
- Sources
- NVDJSONOSV GHSA-676v-wh57-p375JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dolibarr | dolibarr_erp/crmcpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:* |
<= 22.0.4 | |
| OSV | Packagist | dolibarr/dolibarr | <= 15.0.3 |
References
- https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.md · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31018 · ADVISORY
- https://github.com/Dolibarr/dolibarr/commit/ba28d16da4cc0c221f49a878fecc8425501ceb96 · WEB
- https://github.com/Dolibarr/dolibarr · PACKAGE
- https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0 · WEB
- http://dolibarr.com · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Apr 2026)