CVE-2021-25955
CRITICAL 9.0CVSS 3.1Dolibarr Cross-site Scripting vulnerability
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.
- Published
- 15 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-cpv8-6xgr-rmf6
- Sources
- NVDJSONOSV GHSA-cpv8-6xgr-rmf6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dolibarr | dolibarrcpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:* |
>= 2.8.1, <= 13.0.2 | |
| OSV | Packagist | dolibarr/dolibarr | >= 2.8.1, < 14.0.0 | 14.0.0 |
References
- https://github.com/Dolibarr/dolibarr/commit/796b2d201acb9938b903fb2afa297db289ecc93e · Patch, Third Party Advisory, WEB
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25955 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25955 · ADVISORY
- https://github.com/Dolibarr/dolibarr · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Aug 2021)