MEDIUM5.4
GHSA-726g-cgcq-4xw8
Dolibarr Cross-Site Scripting (XSS) vulnerability
Quick fix
GHSA-726g-cgcq-4xw8 — dolibarr/dolibarr: upgrade to the fixed version with the command below.
composer require dolibarr/dolibarr:^5.0.4Details
Dolibarr ERP/CRM is affected by multiple reflected Cross-Site Scripting (XSS) vulnerabilities in versions before 5.0.4: index.php (leftmenu parameter), core/ajax/box.php (PATH_INFO), product/stats/card.php (type parameter), holiday/list.php (month_create, month_start, and month_end parameters), and don/card.php (societe, lastname, firstname, address, zipcode, town, and email parameters).
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/dolibarr/dolibarr
Introduced in:
0Fixed in: 5.0.4Fix
composer require dolibarr/dolibarr:^5.0.4References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/dolibarr/dolibarr"]}'