CVE-2021-25955

Stored XSS in “Dolibarr” leads to privilege escalation

Published Aug 15, 2021 CVSS 3.1 · 9 Critical EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Update to 14.0.0

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1683 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.
Github GHSA Github GHSA GHSA-cpv8-6xgr-rmf6 Dolibarr Cross-site Scripting vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Mend
Published
Updated
Sep 16, 2024, 9:02 PM
Reserved
Jan 22, 2021, 12:00 AM
Status
Modified
Published
Aug 15, 2021, 9:15 PM
Modified
Jun 17, 2026, 3:42 AM