Dolibarr Erpcrm
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in Dolibarr Erpcrm.
By the Year
In 2026 there have been 12 vulnerabilities in Dolibarr Erpcrm with an average score of 7.6 out of ten. Last year, in 2025 Dolibarr Erpcrm had 2 security vulnerabilities published. That is, 10 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 1.36
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 12 | 7.64 |
| 2025 | 2 | 9.00 |
| 2024 | 7 | 7.70 |
| 2023 | 9 | 7.33 |
| 2022 | 14 | 7.19 |
| 2021 | 3 | 7.70 |
| 2020 | 11 | 5.90 |
| 2019 | 24 | 6.94 |
| 2018 | 5 | 8.92 |
It may take a day or so for new Dolibarr Erpcrm vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent Dolibarr Erpcrm Security Vulnerabilities
Dolibarr 10.0.023.9 REST API getGroups Bypasses Auth, Cross-Tenant Leak
CVE-2026-82633
5.3 - Medium
- August 30, 2026
Dolibarr versions 10.0.0 before 24.0.0 fail to perform per-object authorization checks in the Users::getGroups REST API endpoint, allowing authenticated users to retrieve group memberships of other users. Attackers can call GET /users/{id}/groups with arbitrary user identifiers to access group names, entity associations, and private notes across tenant boundaries.
AuthZ
Dolibarr 9.0.023.0.4 emailcollector path traversal unsafe attachment filenames
CVE-2026-81730
8.8 - High
- August 27, 2026
Dolibarr 9.0.0 through 23.0.4 saves inbound email attachments under the name supplied in the message's MIME headers without reducing it to a safe basename. The global saveAttachment() in htdocs/emailcollector/lib/emailcollector.lib.php builds $filepath = $path . $filename . '.' . $ext and hands it to file_put_contents(), and the private saveAttachment() in htdocs/emailcollector/class/emailcollector.class.php writes to $destdir.'/'.$filename; the name reaches both from the attachment's own getName() or getFilename() value by way of the record-join, create-ticket and create-project operations. A traversal sequence in the filename therefore survives intact, so any sender who can email a mailbox that an EmailCollector monitors, which is the module's ordinary use for a support or ticket inbox, can place attacker-controlled content outside the per-object attachment directory without holding a Dolibarr account. Under the hardened layout Dolibarr's SECURITY.md requires, with htdocs read-only, the write is confined to the documents tree and corrupts or forges other objects' documents; where htdocs is writable the same primitive reaches a web-executable path. Version 24.0.0 applies dol_sanitizePathName() and dol_sanitizeFileName() before the write.
Directory traversal
Dolibarr <24.0.0: CSV/XLSX Import Wizard SQLi via unfiltered updatekeys
CVE-2026-81728
8.6 - High
- August 27, 2026
Dolibarr before 24.0.0 contains a SQL injection in its CSV and XLSX import wizard. The wizard reads its update keys with GETPOST('updatekeys', 'array') in htdocs/imports/import.php, which applies only the generic alphanohtml filter: that strips HTML but leaves SQL keywords, comment markers, parentheses, spaces and quotes intact. import_insert() in htdocs/core/modules/import/import_csv.modules.php then iterates the submitted values and builds a filter with $where[] = $key.' = '.$data[$key], having first applied preg_replace('/^.*\./i', '', $key), an alias strip that does nothing to a value containing no dot. The assembled string is executed through $this->db->query(). The injected SELECT resolves the row id that the import then assigns to $lastinsertid, which becomes the WHERE target of a subsequent UPDATE, so a UNION SELECT returning an attacker-chosen integer both exfiltrates arbitrary table content and redirects which row the import overwrites; for category link tables the raw filter array is spliced into that UPDATE directly. The interface offers a fixed list of legitimate column codes but the server never checks the submitted values against it. A user holding the import permission can exploit this. Release 23.0.4 does not carry the fix; the allow-list test was added in 24.0.0.
SQL Injection
Dolibarr <23.0.4 API delete() uses read instead of write
CVE-2026-81729
7.1 - High
- August 27, 2026
Dolibarr before 23.0.4 authorizes REST API document deletion against the wrong permission. Documents::delete() in htdocs/api/class/api_documents.class.php calls dol_check_secure_access_document() with the mode argument 'read' when handling DELETE /api/index.php/documents, while the sibling builddoc() path passes 'write', the correct mode for an operation that modifies stored data. An authenticated API user who holds only a read permission for a document-bearing module, for example societe:lire or facture:lire, and no create, write, delete or admin permission, therefore passes the check and can permanently delete that module's documents: third-party files, invoices, orders, proposals, project files and generated PDFs, with no recovery path. The call site is htdocs/api/class/api_documents.class.php:1276 in 23.0.3 and passes 'write' from 23.0.4 onward.
AuthZ
CVE-2026-73692
CVE-2026-73692
- August 18, 2026
Dolibarr <=23.0.3 SQLi via api_setup.sqlfilters & multicurrencies
CVE-2026-58376
7.6 - High
- June 30, 2026
Dolibarr through 23.0.3, fixed in commit 14db36e, contains a sql injection vulnerability that allows authenticated API users to exfiltrate arbitrary database contents by supplying malicious values to the sqlfilters query parameter in the setup dictionary and multicurrencies REST API endpoints. The affected endpoints in api_setup.class.php and api_multicurrencies.class.php validate sqlfilters only for balanced parentheses and rewrite matched triplets, allowing text placed outside the expected shape such as an appended UNION SELECT to be concatenated into the SQL WHERE clause unmodified, enabling retrieval of sensitive data including password hashes and API keys.
SQL Injection
Dolibarr ERP 7.0.3 RCE via db_name Parameter Injection
CVE-2018-25357
9.8 - Critical
- May 23, 2026
Dolibarr ERP CRM 7.0.3 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code through the db_name parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the db_name parameter, then execute commands via the check.php endpoint using the cmd GET parameter.
Code Injection
SQLi via rowid in Dolibarr 8.0.4 admin dict.php
CVE-2019-25710
8.2 - High
- April 12, 2026
Dolibarr ERP-CRM 8.0.4 contains an SQL injection vulnerability in the rowid parameter of the admin dict.php endpoint that allows attackers to execute arbitrary SQL queries. Attackers can inject malicious SQL code through the rowid POST parameter to extract sensitive database information using error-based SQL injection techniques.
SQL Injection
RCE in Dolibarr <23.0.2 via dol_eval_standard() eval()
CVE-2026-22666
7.2 - High
- April 07, 2026
Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the dol_eval_standard() function that fails to apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax. Attackers with administrator privileges can inject malicious payloads through computed extrafields or other evaluation paths using PHP dynamic callable syntax to bypass validation and achieve arbitrary command execution via eval().
Eval Injection
Dolibarr ERP/CRM 10.0.1 SQLi via viewcat.php elemid
CVE-2019-25452
7.5 - High
- February 22, 2026
Dolibarr ERP/CRM 10.0.1 contains an SQL injection vulnerability in the elemid POST parameter of the viewcat.php endpoint that allows unauthenticated attackers to execute arbitrary SQL queries. Attackers can submit crafted POST requests with malicious SQL payloads in the elemid parameter to extract sensitive database information using error-based or time-based blind SQL injection techniques.
SQL Injection
SQLi in Dolibarr ERP/CRM 10.0.1 (card.php POST params)
CVE-2019-25450
7.5 - High
- February 22, 2026
Dolibarr ERP/CRM 10.0.1 contains multiple SQL injection vulnerabilities that allow authenticated attackers to manipulate database queries by injecting SQL code through POST parameters. Attackers can inject malicious SQL through parameters like actioncode, demand_reason_id, and availability_id in card.php endpoints to extract sensitive database information using boolean-based blind, error-based, and time-based blind techniques.
SQL Injection
Dolibarr 11.0.3 LDAP XSS via LDAP sync params
CVE-2020-36966
6.4 - Medium
- January 30, 2026
Dolibarr 11.0.3 contains a persistent cross-site scripting vulnerability in LDAP synchronization settings that allows attackers to inject malicious scripts through multiple parameters. Attackers can exploit the host, slave, and port parameters in /dolibarr/admin/ldap.php to execute arbitrary JavaScript and potentially steal user cookie information.
XSS
Dolibarr v21.0.0-beta XSS via Title in Product Module
CVE-2024-55228
9 - Critical
- January 27, 2025
A cross-site scripting (XSS) vulnerability in the Product module of Dolibarr v21.0.0-beta allows attackers to execute arbitrary web scripts or HTMl via a crafted payload injected into the Title parameter.
XSS
Dolibarr v21.0.0-beta XSS in Events/Agenda Title Param
CVE-2024-55227
9 - Critical
- January 27, 2025
A cross-site scripting (XSS) vulnerability in the Events/Agenda module of Dolibarr v21.0.0-beta allows attackers to execute arbitrary web scripts or HTMl via a crafted payload injected into the Title parameter.
XSS
Dolibarr IA: Direct URL Bypass in Reception
CVE-2021-3991
4.3 - Medium
- November 15, 2024
An Improper Authorization vulnerability exists in Dolibarr versions prior to the 'develop' branch. A user with restricted permissions in the 'Reception' section is able to access specific reception details via direct URL access, bypassing the intended permission restrictions.
Insecure Direct Object Reference / IDOR
Dolibarr <19.0.1 Template Upload Arbitrary File Upload Exec via .SQL
CVE-2024-37821
8.8 - High
- June 18, 2024
An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.
Code Injection
Dolibarr ERP/CRM 9.0.1 SQLi via viewstatut in list.php
CVE-2024-5315
9.1 - Critical
- May 24, 2024
Vulnerabilities in Dolibarr ERP - CRM that affect version 9.0.1 and allow SQL injection. These vulnerabilities could allow a remote attacker to send a specially crafted SQL query to the system and retrieve all the information stored in the database through the parameters viewstatut in /dolibarr/commande/list.php.
SQL Injection
Dolibarr 9.0.1 SQL injection via sortorder/sortfield
CVE-2024-5314
9.1 - Critical
- May 24, 2024
Vulnerabilities in Dolibarr ERP - CRM that affect version 9.0.1 and allow SQL injection. These vulnerabilities could allow a remote attacker to send a specially crafted SQL query to the system and retrieve all the information stored in the database through the parameters sortorder y sortfield in /dolibarr/admin/dict.php.
SQL Injection
Dolibarr ERP/CRM <=19.0.0 Authenticated Session & CSRF Token Theft Account Takeover
CVE-2024-31503
- April 17, 2024
Incorrect access control in Dolibarr ERP CRM versions 19.0.0 and before, allows authenticated attackers to steal victim users' session cookies and CSRF protection tokens via user interaction with a crafted web page, leading to account takeover.
Session Riding
Dolibarr <19.0.0: Unsanitized Install Input Enables Code Exec
CVE-2024-29477
8.8 - High
- April 03, 2024
Lack of sanitization during Installation Process in Dolibarr ERP CRM up to version 19.0.0 allows an attacker with adjacent access to the network to execute arbitrary code via a specifically crafted input.
Code Injection
Dolibarr 18.0.4 Home Page HTML Injection (XSS)
CVE-2024-23817
6.1 - Medium
- January 25, 2024
Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. Version 18.0.4 has a HTML Injection vulnerability in the Home page of the Dolibarr Application. This vulnerability allows an attacker to inject arbitrary HTML tags and manipulate the rendered content in the application's response. Specifically, I was able to successfully inject a new HTML tag into the returned document and, as a result, was able to comment out some part of the Dolibarr App Home page HTML code. This behavior can be exploited to perform various attacks like Cross-Site Scripting (XSS). To remediate the issue, validate and sanitize all user-supplied input, especially within HTML attributes, to prevent HTML injection attacks; and implement proper output encoding when rendering user-provided data to ensure it is treated as plain text rather than executable HTML.
XSS
Improper Access Control in Dolibarr <=v17.0.3 Exposes DB
CVE-2023-4198
6.5 - Medium
- November 01, 2023
Improper Access Control in Dolibarr ERP CRM <= v17.0.3 allows an unauthorized authenticated user to read a database table containing customer data
AuthZ
Dolibarr ERP CRM <=18.0.1 PHP Code Injection via Website Input
CVE-2023-4197
8.8 - High
- November 01, 2023
Improper input validation in Dolibarr ERP CRM <= v18.0.1 fails to strip certain PHP code from user-supplied input when creating a Website, allowing an attacker to inject and evaluate arbitrary PHP code.
Injection
Dolibarr Stored XSS before 16.0.5
CVE-2023-5842
4.8 - Medium
- October 30, 2023
Cross-site Scripting (XSS) - Stored in GitHub repository dolibarr/dolibarr prior to 16.0.5.
XSS
dolibarr <18.0 XSS in Generic Repo (CVE-2023-5323)
CVE-2023-5323
6.1 - Medium
- October 01, 2023
Cross-site Scripting (XSS) - Generic in GitHub repository dolibarr/dolibarr prior to 18.0.
XSS
RCE in Dolibarr ERP CRM <=17.0.1 via Crafted Command (CVE-2023-38886)
CVE-2023-38886
- September 20, 2023
An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a crafted command/script.
Shell injection
File Upload RCE in Dolibarr ERP/CRM < v17.0.1 via Ext Filter/Rename
CVE-2023-38887
8.8 - High
- September 20, 2023
File Upload vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to execute arbitrary code and obtain sensitive information via the extension filtering and renaming functions.
Unrestricted File Upload
XSS in Dolibarr 17.0.1 and earlier via REST API (anlVarsSqlScrInj, tstSqlScrInj)
CVE-2023-38888
- September 20, 2023
Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive information and execute arbitrary code via the REST API module, related to analyseVarsForSqlAndScriptsInjection and testSqlAndScriptInject.
Unauthenticated DB Dump via Contact File in Dolibarr 16 (<16.0.5)
CVE-2023-33568
7.5 - High
- June 13, 2023
An issue in Dolibarr 16 before 16.0.5 allows unauthenticated attackers to perform a database dump and access a company's entire customer file, prospects, suppliers, and employee information if a contact file exists.
Files or Directories Accessible to External Parties
RCE in Dolibarr <17.0.1 via <?PHP injection
CVE-2023-30253
8.8 - High
- May 29, 2023
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.
Shell injection
SQLi in versions 16.0.1/16.0.2 critical
CVE-2022-4093
9.8 - Critical
- November 21, 2022
SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or personal user information. Many high-profile data breaches in recent years have been the result of SQL injection attacks, leading to reputational damage and regulatory fines. In some cases, an attacker can obtain a persistent backdoor into an organization's systems, leading to a long-term compromise that can go unnoticed for an extended period. This affect 16.0.1 and 16.0.2 only. 16.0.0 or lower, and 16.0.3 or higher are not affected
SQL Injection
CVE-2022-43138: Privilege Escalation via API in Dolibarr ERP/CRM < v14.0.1
CVE-2022-43138
9.8 - Critical
- November 17, 2022
Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API.
Dolibarr ERP & CRM <=15.0.3 Eval Injection via Admin Add
CVE-2022-40871
9.8 - Critical
- October 12, 2022
Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. By default, any administrator can be added to the installation page of dolibarr, and if successfully added, malicious code can be inserted into the database and then execute it by eval.
Code Injection
Cross-site Scripting (XSS) - Stored in GitHub repository dolibarr/dolibarr prior to 16.0.
CVE-2022-2060
5.4 - Medium
- June 13, 2022
Cross-site Scripting (XSS) - Stored in GitHub repository dolibarr/dolibarr prior to 16.0.
XSS
Dolibarr 12.0.5 is vulnerable to Cross Site Scripting (XSS)
CVE-2022-30875
6.1 - Medium
- June 08, 2022
Dolibarr 12.0.5 is vulnerable to Cross Site Scripting (XSS) via Sql Error Page.
XSS
An Access Control vulnerability exists in Dolibarr ERP/CRM 13.0.2, fixed version is 14.0.0,in the forgot-password function becuase the application
CVE-2021-37517
7.5 - High
- March 31, 2022
An Access Control vulnerability exists in Dolibarr ERP/CRM 13.0.2, fixed version is 14.0.0,in the forgot-password function becuase the application allows email addresses as usernames, which can cause a Denial of Service.
AuthZ
An SQL Injection vulnerability exists in Dolibarr ERP/CRM 13.0.2 (fixed version is 14.0.0)
CVE-2021-36625
8.8 - High
- March 31, 2022
An SQL Injection vulnerability exists in Dolibarr ERP/CRM 13.0.2 (fixed version is 14.0.0) via a POST request to the country_id parameter in an UPDATE statement.
SQL Injection
Code Injection in GitHub repository dolibarr/dolibarr prior to 15.0.1.
CVE-2022-0819
8.8 - High
- March 02, 2022
Code Injection in GitHub repository dolibarr/dolibarr prior to 15.0.1.
Business Logic Errors in GitHub repository dolibarr/dolibarr prior to 16.0.
CVE-2022-0746
4.3 - Medium
- February 25, 2022
Business Logic Errors in GitHub repository dolibarr/dolibarr prior to 16.0.
Improper Access Control (IDOR) in GitHub repository dolibarr/dolibarr prior to 16.0.
CVE-2022-0731
6.5 - Medium
- February 23, 2022
Improper Access Control (IDOR) in GitHub repository dolibarr/dolibarr prior to 16.0.
Insecure Direct Object Reference / IDOR
Improper Validation of Specified Quantity in Input in Packagist dolibarr/dolibarr prior to 16.0.
CVE-2022-0414
4.3 - Medium
- January 31, 2022
Improper Validation of Specified Quantity in Input in Packagist dolibarr/dolibarr prior to 16.0.
Improper Validation of Specified Quantity in Input
dolibarr is vulnerable to Improper Neutralization of Special Elements used in an SQL Command
CVE-2022-0224
9.8 - Critical
- January 14, 2022
dolibarr is vulnerable to Improper Neutralization of Special Elements used in an SQL Command
SQL Injection
Improper Validation of Specified Quantity in Input vulnerability in dolibarr dolibarr/dolibarr.
CVE-2022-0174
4.3 - Medium
- January 10, 2022
Improper Validation of Specified Quantity in Input vulnerability in dolibarr dolibarr/dolibarr.
Improper Validation of Specified Quantity in Input
admin/limits.php in Dolibarr 7.0.2
CVE-2022-22293
5.4 - Medium
- January 02, 2022
admin/limits.php in Dolibarr 7.0.2 allows HTML injection, as demonstrated by the MAIN_MAX_DECIMALS_TOT parameter.
XSS
Dolibarr ERP and CRM 13.0.2
CVE-2021-33618
6.1 - Medium
- November 10, 2021
Dolibarr ERP and CRM 13.0.2 allows XSS via object details, as demonstrated by > and < characters in the onpointermove attribute of a BODY element to the user-management feature.
XSS
The website builder module in Dolibarr 13.0.2
CVE-2021-33816
9.8 - Critical
- November 10, 2021
The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mechanism in which system, exec, and shell_exec are blocked but backticks are not blocked.
Code Injection
In Dolibarr application
CVE-2021-25956
7.2 - High
- August 17, 2021
In Dolibarr application, v3.3.beta1_20121221 to v13.0.2 have Modify access for admin level users to change other users details but fails to validate already existing Login name, while renaming the user Login. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.
Dolibarr 12.0.3 is vulnerable to authenticated Remote Code Execution
CVE-2020-35136
7.2 - High
- December 23, 2020
Dolibarr 12.0.3 is vulnerable to authenticated Remote Code Execution. An attacker who has the access the admin dashboard can manipulate the backup function by inserting a payload into the filename for the zipfilename_template parameter to admin/tools/dolibarr_export.php.
Argument Injection
Dolibarr 11.0.4 is affected by multiple stored Cross-Site Scripting (XSS) vulnerabilities
CVE-2020-13828
5.4 - Medium
- August 31, 2020
Dolibarr 11.0.4 is affected by multiple stored Cross-Site Scripting (XSS) vulnerabilities that could allow remote authenticated attackers to inject arbitrary web script or HTML via ticket/card.php?action=create with the subject, message, or address parameter; adherents/card.php with the societe or address parameter; product/card.php with the label or customcode parameter; or societe/card.php with the alias or barcode parameter.
XSS
A reflected cross-site scripting (XSS) vulnerability in Dolibarr 11.0.3
CVE-2020-14475
6.1 - Medium
- June 19, 2020
A reflected cross-site scripting (XSS) vulnerability in Dolibarr 11.0.3 allows remote attackers to inject arbitrary web script or HTML into public/notice.php (related to transphrase and transkey).
XSS
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for Dolibarr Erpcrm or by Dolibarr? Click the Watch button to subscribe.