---
title: "Dolibarr/dolibarr: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/dolibarr/dolibarr
type: fixes-repository
description: "101 CVE fixes in Dolibarr/dolibarr changed 261 functions across 306 files."
updated: 2026-11-19
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Dolibarr/dolibarr: patched functions

- **CVEs with a located fix:** 101
- **Functions patched:** 261
- **Files patched:** 306
- **Diff hunks:** 1,751
- **Languages:** php, sql
- **Rank by CVE fixes:** 43 of 12,275
- **First fix:** 2011-11-28
- **Latest fix:** 2026-11-19
- **Repository:** [https://github.com/Dolibarr/dolibarr](https://github.com/Dolibarr/dolibarr)

## Typical fix size

- Median lines changed per fix: 20
- Fixes touching a single function: 40%
- Fixes under 20 changed lines: 50%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [test\_sql\_and\_script\_inject](https://radicalnotion.ai/fixes/dolibarr/dolibarr/test_sql_and_script_inject) | htdocs/main.inc.php | 8 | 6 | 2017-12-29 |
| [put](https://radicalnotion.ai/fixes/dolibarr/dolibarr/put) | htdocs/user/class/api\_users.class.php | 4 | 4 | 2026-11-17 |
| [GETPOST](https://radicalnotion.ai/fixes/dolibarr/dolibarr/GETPOST) | htdocs/core/lib/functions.lib.php | 4 | 4 | 2026-09-11 |
| [on\_change](https://radicalnotion.ai/fixes/dolibarr/dolibarr/on_change) | htdocs/product/price.php | 2 | 4 | 2026-11-05 |
| [fetch\_optionals](https://radicalnotion.ai/fixes/dolibarr/dolibarr/fetch_optionals) | htdocs/core/class/commonobject.class.php | 2 | 4 | 2026-11-05 |
| [update](https://radicalnotion.ai/fixes/dolibarr/dolibarr/update) | htdocs/societe/class/societe.class.php | 2 | 4 | 2026-11-05 |
| [dolForgeSQLCriteriaCallback](https://radicalnotion.ai/fixes/dolibarr/dolibarr/dolForgeSQLCriteriaCallback) | htdocs/core/lib/functions.lib.php | 3 | 3 | 2026-11-19 |
| [post](https://radicalnotion.ai/fixes/dolibarr/dolibarr/post) | htdocs/user/class/api\_users.class.php | 3 | 3 | 2026-11-17 |
| [update](https://radicalnotion.ai/fixes/dolibarr/dolibarr/update) | htdocs/user/class/user.class.php | 3 | 3 | 2022-03-31 |
| [analyse\_sql\_and\_script](https://radicalnotion.ai/fixes/dolibarr/dolibarr/analyse_sql_and_script) | htdocs/main.inc.php | 3 | 3 | 2011-12-14 |
| [jsonOrUnserialize](https://radicalnotion.ai/fixes/dolibarr/dolibarr/jsonOrUnserialize) | htdocs/core/lib/functions.lib.php | 2 | 3 | 2026-10-15 |
| [getPayments](https://radicalnotion.ai/fixes/dolibarr/dolibarr/getPayments) | htdocs/expensereport/class/api\_expensereports.class.php | 1 | 3 | 2026-11-10 |
| [getAllPayments](https://radicalnotion.ai/fixes/dolibarr/dolibarr/getAllPayments) | htdocs/expensereport/class/api\_expensereports.class.php | 1 | 3 | 2026-11-10 |
| [updatePayment](https://radicalnotion.ai/fixes/dolibarr/dolibarr/updatePayment) | htdocs/expensereport/class/api\_expensereports.class.php | 1 | 3 | 2026-11-10 |
| [loadStateBoard](https://radicalnotion.ai/fixes/dolibarr/dolibarr/loadStateBoard) | htdocs/comm/propal/class/propal.class.php | 1 | 3 | 2026-11-05 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| htdocs/core/lib/functions.lib.php | 21 | 21 |
| htdocs/main.inc.php | 11 | 5 |
| htdocs/user/card.php | 9 | 0 |
| htdocs/user/class/api\_users.class.php | 5 | 15 |
| htdocs/core/class/html.form.class.php | 4 | 8 |
| htdocs/compta/bank/class/account.class.php | 4 | 3 |
| htdocs/fourn/class/fournisseur.commande.class.php | 4 | 3 |
| htdocs/user/note.php | 4 | 0 |
| htdocs/expensereport/class/api\_expensereports.class.php | 3 | 18 |
| htdocs/core/class/commonobject.class.php | 3 | 10 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-133327 | Dolibarr ERP CRM Document Upload files.lib.php dol\_convert\_file code injection | medium | 5.3 | No | isRealPdf, dol\_convert\_file, deleteFilesIntoDatabaseIndex | 2026-11-19 |
| CVE-2026-133481 | - | medium | 4.3 | No | index, \_fetch | 2026-11-19 |
| CVE-2026-133476 | - | high | 8.8 | No | listTimespent, index, dolForgeSQLCriteriaCallback | 2026-11-19 |
| CVE-2026-130847 | Dolibarr ERP CRM before 24.0.2 Improper Authorization via Users REST API | high | 8.6 | No | post, setPassword, put | 2026-11-17 |
| CVE-2026-130848 | Dolibarr ERP CRM through 24.0.3 Code Injection via Website Template Import | high | 8.7 | No | importWebSite | 2026-11-17 |
| CVE-2026-89037 | Dolibarr \< 24.0.2 IDOR via Ticket Documents API | high | 7.1 | No | checkUserAccessToObject | 2026-11-13 |
| CVE-2026-125754 | Dolibarr 20.0.0 through 23.0.4 and 24.x before 24.0.2 IDOR via ExpenseReport Payment API | high | 7.1 | No | getPayments, updatePayment, addPayment | 2026-11-10 |
| CVE-2026-33944 | Dolibarr: SQL Injection in societe/class/societe.class.php via localtax1\_value parameter | high | 8.8 | No | update, update, update | 2026-11-05 |
| CVE-2026-118754 | Dolibarr ERP CRM before 24.0.2 Missing Authorization via public recruitment view.php | medium | 6.9 | No | - | 2026-10-28 |
| CVE-2026-116219 | Dolibarr ERP CRM before 24.0.0 OS Command Injection via mysqldump Parameter | high | 8.6 | No | - | 2026-10-26 |
| CVE-2026-116218 | Dolibarr ERP CRM 19.0.0 before 23.0.4 SQL Injection via bankaccounts API type field | high | 7.2 | No | create | 2026-10-26 |
| CVE-2026-112361 | Dolibarr CSP document.php protection mechanism | medium | 5.3 | No | - | 2026-10-19 |

## Frequently asked questions

### How many CVEs have a located fix in Dolibarr/dolibarr?

101 published CVEs have a fix traced to functions in Dolibarr/dolibarr, touching 261 functions across 306 files.

### Which function in Dolibarr/dolibarr has been patched most often?

test\_sql\_and\_script\_inject in htdocs/main.inc.php has been changed by 6 distinct patches, fixing 8 CVEs, from 2011 to 2017.

### How large is a typical CVE fix in Dolibarr/dolibarr?

The median fix changes 20 lines. 50% of fixes change 20 lines or fewer, and 40% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [craftcms/cms](https://radicalnotion.ai/fixes/craftcms/cms) (103 CVEs)
- [mantisbt/mantisbt](https://radicalnotion.ai/fixes/mantisbt/mantisbt) (103 CVEs)
- [radareorg/radare2](https://radicalnotion.ai/fixes/radareorg/radare2) (103 CVEs)
- [InternationalColorConsortium/iccDEV](https://radicalnotion.ai/fixes/internationalcolorconsortium/iccdev) (104 CVEs)
- [symfony/symfony](https://radicalnotion.ai/fixes/symfony/symfony) (96 CVEs)
- [vllm-project/vllm](https://radicalnotion.ai/fixes/vllm-project/vllm) (95 CVEs)
- [openssl/openssl](https://radicalnotion.ai/fixes/openssl/openssl) (109 CVEs)
- [python-pillow/Pillow](https://radicalnotion.ai/fixes/python-pillow/pillow) (109 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/dolibarr/dolibarr). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
