Skip to content
OpenAdvisories
Critical · 9.0 CVE-2021-25955 EUVD-2021-1683GHSA-cpv8-6xgr-rmf6

Stored XSS in “Dolibarr” leads to privilege escalation

Published Aug 15, 2021 · Updated Sep 16, 2024 · Assigned by Mend

Description

In “Dolibarr ERP CRM”, WYSIWYG Editor module, v2.8.1 to v13.0.2 are affected by a stored XSS vulnerability that allows low privileged application users to store malicious scripts in the “Private Note” field at “/adherents/note.php?id=1” endpoint. These scripts are executed in a victim’s browser when they open the page containing the vulnerable field. In the worst case, the victim who inadvertently triggers the attack is a highly privileged administrator. The injected scripts can extract the Session ID, which can lead to full Account takeover of the admin and due to other vulnerability (Improper Access Control on Private notes) a low privileged user can update the private notes which could lead to privilege escalation.

Affected products

VendorProductAffectedFixed
Dolibarr dolibarr unspecified – ≤ v13.0.2, v2.8.1 – < unspecified unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS dolibarr No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist dolibarr/dolibarr >= 2.8.1, < 14.0.0 14.0.0 GHSA-cpv8-6xgr-rmf6

References