CVE-2021-25955Dolibarr
Critical 9.0
Follow: this CVE · Dolibarr · Dolibarr We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 9.0
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 61
- Auth required
- Yes
- Published
- Aug 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dolibarr.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | dolibarr/dolibarr |
≥ 2.8.1 < 14.0.0 |
14.0.0 |
composer require "dolibarr/dolibarr:^14.0.0" |
Per OSV / GitHub Advisories (GHSA-cpv8-6xgr-rmf6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dolibarr | dolibarr | ≥ 2.8.1 ≤ 13.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.whitesourcesoftware.com Third Party Advisory