CVE-2021-25955
Stored XSS in “Dolibarr” leads to privilege escalation
Reported by mend · Published August 15, 2021
dolibarr/dolibarr is fixed in 14.0.0 and 13.0.2 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| dolibarr/dolibarr | Packagist | 14.0.0, 13.0.2 |
| dolibarr | dolibarr | v13.0.2, unspecified, 13.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Dolibarr | dolibarr | unspecified, v2.8.1 |
| dolibarr | dolibarr | 2.8.1 |
| Dolibarr | dolibarr | *, 2.8.1 |
Timeline
- Aug 15, 2021 CVE Published
- Aug 16, 2021 EPSS Score (30 in total, the first dated here)
- Aug 1, 2022 CVE Updated
- Mar 17, 2026 Security Advisory
- Aug 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-25955
vulnetix vdb fixes CVE-2021-25955
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-25955/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-25955 advisory