8.8high
Dolibarr Allows Code Injection through its Website Module
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.28% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-676v-wh57-p375
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| dolibarr/dolibarr (Packagist) | up to 15.0.3 | GitHub Advisory Database |
| dolibarr dolibarr_erp/crm | up to 22.0.4 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
A patch is available at https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0.
NVD (es)
En Dolibarr ERP y CRM menor o igual que 22.0.4, la detección de código PHP y la aplicación de permisos de edición en el módulo de Sitio Web no se aplica de manera consistente a todos los parámetros de entrada, permitiendo a un usuario autenticado restringido a la edición de HTML/JavaScript inyectar código PHP a través de entradas no protegidas durante la creación de páginas del sitio web.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31018 changed 2026-07-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-676v-wh57-p375 changed 2026-05-05 | CC-BY-4.0 |
| NVD | CVE-2026-31018 changed 2026-11-11 | Public domain |