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

- Severity: Critical 9.0 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 57% of CVEs (2026-11-30)
- Published: 2021-08-15T20:35:25.743Z
- Modified: 2026-06-17T03:42:40.253Z
- Also known as: GHSA-cpv8-6xgr-rmf6
- Weaknesses: CWE-79
- 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.

(As written by CVE List.)

## Affected

- Dolibarr dolibarr: from unspecified up to v13.0.2; from v2.8.1 before unspecified; from 2.8.1 up to 13.0.2
- dolibarr/dolibarr (Packagist): from 2.8.1 before 14.0.0

## Every score

- Mend: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25955> (third-party-advisory, web)
- <https://github.com/Dolibarr/dolibarr/commit/796b2d201acb9938b903fb2afa297db289ecc93e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25955> (advisory)
- <https://github.com/Dolibarr/dolibarr> (web)

## Sources

- CVE List: [CVE-2021-25955](https://www.cve.org/CVERecord?id=CVE-2021-25955), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-cpv8-6xgr-rmf6](https://github.com/advisories/GHSA-cpv8-6xgr-rmf6), CC-BY-4.0, modified 2024-02-22
- NVD: [CVE-2021-25955](https://nvd.nist.gov/vuln/detail/CVE-2021-25955), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25955 · Whole record: https://cve.day/CVE-2021-25955.json · Rebuilt by cve.day 2026-11-25T22:58:03.237Z
