Code injection in dolibarr/dolibarr
Improper php function sanitization, lead to an ability to inject arbitrary PHP code and run arbitrary commands on file system. In the function "dol_eval" in file "dolibarr/htdocs/core/lib/functions.lib.php" dangerous PHP functions are sanitized using "str_replace" and can be bypassed using following code in $s parameter
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | dolibarr/dolibarr | < 15.0.1 | 15.0.1 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-94- Platform
- Composer
- Package
dolibarr/dolibarr- Disclosed
- 03.03.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-42qm-c3cf-9wv2 - CC BY 4.0
Vulnerability history: dolibarr/dolibarr
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 126
- First → latest
- 11.2019 06.2026
- Without a fix
- 49
- Exploited in attacks
- 0
Severity breakdown
- Critical 27
- High 38
- Medium 56
- Low 5
Disclosures per year
- 2019: 1
- 2020: 2
- 2021: 5
- 2022: 87
- 2023: 9
- 2024: 9
- 2025: 4
- 2026: 9
-
Code injection in dolibarr/dolibarr this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.