CVE-2021-25955: Stored XSS in “Dolibarr” leads to privilege escalation
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 Software
Remediation
Information
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue in Dolibarr ERP CRM?
The vulnerability ID for this issue in Dolibarr ERP CRM is CVE-2021-25955.
What is the severity of CVE-2021-25955?
CVE-2021-25955 has a severity level of critical.
What software versions are affected by CVE-2021-25955?
Versions 2.8.1 to 13.0.2 of Dolibarr ERP CRM's WYSIWYG Editor module are affected by CVE-2021-25955.
How can a low privileged user exploit this vulnerability in Dolibarr ERP CRM?
A low privileged user can exploit this vulnerability by storing malicious scripts in the "Private Note" field at the "/adherents/note.php?id=1" endpoint in Dolibarr ERP CRM's WYSIWYG Editor module.
Are there any references or resources related to CVE-2021-25955?
Yes, you can find more information about CVE-2021-25955 in the following references: [GitHub commit](https://github.com/Dolibarr/dolibarr/commit/796b2d201acb9938b903fb2afa297db289ecc93e) and [WhiteSource Software](https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25955).