All reports
High

Code injection in dolibarr/dolibarr

Affected versions

Affected versions
< 15.0.1
Fixed version
15.0.1

Exploitation

CVE-2022-0819

Probability of exploitation in the next 30 days: 42.68%

FIRST EPSS · 2026-11-21

Description

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

Links