MEDIUM
GHSA-6fw8-vf2x-4wpm
Dolibarr ERP and CRM contain Cross-site Scripting Vulnerability
Quick fix
GHSA-6fw8-vf2x-4wpm — dolibarr/dolibarr: upgrade to the fixed version with the command below.
composer require dolibarr/dolibarr:^3.5.8Details
Multiple cross-site scripting (XSS) vulnerabilities in Dolibarr ERP/CRM 3.5 and 3.6 allow remote attackers to inject arbitrary web script or HTML via the Business Search (`search_nom`) field to (1) `htdocs/societe/societe.php` or (2) `htdocs/societe/admin/societe.php`.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/dolibarr/dolibarr
Introduced in:
3.5.0Fixed in: 3.5.8Fix
composer require dolibarr/dolibarr:^3.5.8References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3935[ADVISORY]
- https://github.com/Dolibarr/dolibarr/issues/2857[WEB]
- https://github.com/Dolibarr/dolibarr/issues/4291[WEB]
- https://github.com/Dolibarr/dolibarr/issues/4341[WEB]
- https://github.com/dolibarr/dolibarr/commit/a7f6bbd316e9b96216e9b2c7a065c9251c9a8907[WEB]
- https://web.archive.org/web/20210122162903/http://www.securityfocus.com/bid/74926[WEB]
- http://packetstormsecurity.com/files/132108/Dolibarr-3.5-3.6-HTML-Injection.html[WEB]
- http://seclists.org/fulldisclosure/2015/May/126[WEB]
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"]}'