CVE-2017-17971Dolibarr Erp/crm
Medium 6.1 No auth needed
Follow: this CVE · Dolibarr · Dolibarr Erp/crm We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 64
- Auth required
- No
- Published
- Dec 29, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The test_sql_and_script_inject function in htdocs/main.inc.php in Dolibarr ERP/CRM 6.0.4 blocks some event attributes but neither onclick nor onscroll, which allows XSS.
What to do
- Apply the vendor's security update for Dolibarr Erp/crm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | dolibarr/dolibarr |
< 6.0.5 |
6.0.5 |
composer require "dolibarr/dolibarr:^6.0.5" |
Per OSV / GitHub Advisories (GHSA-qjq9-wx5j-jrg6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dolibarr | dolibarr_erp/crm | 6.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory