Dolibarr is an open-source enterprise resource planning and customer relationship management application. Prior to 22.0.5 and 23.0.1, there is a SQL injection vulnerability in the Third Party company update functionality. The application concatenates the localtax1_value and localtax2_value properties into an SQL UPDATE statement without numeric conversion or other appropriate sanitization. An authenticated user with Third Party create or edit permission can submit crafted lt1 or lt2 POST parameters to read sensitive database information, including password hashes, API keys, and business data, or modify third-party records. This issue is fixed in versions 22.0.5 and 23.0.2.
https://www.sec4check.pl/blog/posts/cve-dolibarr-sql-injection-localtax-third-party.html
https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-v5fq-cf5m-vwv7
https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2
https://github.com/Dolibarr/dolibarr/releases/tag/22.0.5
https://github.com/Dolibarr/dolibarr/pull/37632
https://github.com/Dolibarr/dolibarr/commit/c83c13305240c2c0a3779e678b57238b32d15e7c
https://github.com/Dolibarr/dolibarr/commit/a06b14b7dc39d33f8fa00c9b27f2913b494885cb