Vulnerability · Published Aug 15, 2021 · Assigned by Mend

CVE-2021-25955Stored XSS in “Dolibarr” leads to privilege escalation

Critical 9.0

In plain English

A critical-severity cross-site scripting in dolibarr from Dolibarr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.0Critical
Exploit odds (30 days)0.9%top 40.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistdolibarr/dolibarr14.0.0GHSA-cpv8-6xgr-rmf6

Affected products (as reported)

VendorProductVersions
Dolibarr dolibarr unspecified – through v13.0.2v2.8.1 – before unspecified

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

References