CVE-2017-9839 · mitre
CVE-2017-9839
Dolibarr ERP/CRM is affected by SQL injection in versions before 5.0.4 via product/stats/card.php (type parameter).
Published 2018-04-11, last changed 2026-06-17. Weakness: CWE-89.
How to fix
Upgrade to a fixed version: dolibarr/dolibarr 5.0.4 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in dolibarr/dolibarr by c01bd37a82. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-04-11 | Published |
| 2022-05-14 | Package advisory GHSA-84gh-4m36-cgqx |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.02% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-84gh-4m36-cgqx | dolibarr/dolibarr (Packagist) | 5.0.4 |
Also known as: GHSA-84gh-4m36-cgqx
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-33944 | 2026-11-05 | 8.8 | Dolibarr: SQL Injection in societe/class/societe.class.php via localtax1_value parameter |
| CVE-2026-10215 | 2026-06-01 | 4.3 | Dolibarr ERP CRM Leave Request REST API api_holidays.class.php checkUserAccessToObject improper authorization |
| CVE-2018-25357 | 2026-05-23 | 9.3 | Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php |
| CVE-2026-7689 | 2026-05-03 | 3.7 | Dolibarr ERP CRM Online Signature security.lib.php dol_verifyHash signature verification |
| CVE-2026-7688 | 2026-05-03 | 5 | Dolibarr ERP CRM Shipments API Endpoint expedition.class.php _checkValForAPI sql injection |
| CVE-2026-31019 | 2026-04-21 | 8.8 | same package: dolibarr/dolibarr (Packagist) |
| CVE-2026-31018 | 2026-04-21 | 8.8 | same package: dolibarr/dolibarr (Packagist) |
| CVE-2026-23500 | 2026-04-17 | 9.1 | Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-9839, or call /api/v1/vulnerabilities/CVE-2017-9839. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.