MEDIUM6.1
GHSA-p2fm-8rhj-58fr
Dolibarr Cross-site scripting (XSS) vulnerability
Quick fix
GHSA-p2fm-8rhj-58fr — dolibarr/dolibarr: upgrade to the fixed version with the command below.
composer require dolibarr/dolibarr:^7.0.2Details
Cross-site scripting (XSS) vulnerability in Dolibarr before 7.0.2 allows remote attackers to inject arbitrary web script or HTML via the foruserlogin parameter to adherents/cartes/carte.php.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/dolibarr/dolibarr
Introduced in:
0Fixed in: 7.0.2Fix
composer require dolibarr/dolibarr:^7.0.2References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10095[ADVISORY]
- https://github.com/Dolibarr/dolibarr/commit/1dc466e1fb687cfe647de4af891720419823ed56[WEB]
- https://github.com/Dolibarr/dolibarr[PACKAGE]
- https://github.com/Dolibarr/dolibarr/blob/7.0.2/ChangeLog[WEB]
- https://sysdream.com/news/lab/2018-05-21-cve-2018-10095-dolibarr-xss-injection-vulnerability[WEB]
- http://www.openwall.com/lists/oss-security/2018/05/21/3[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"]}'