VDB

CVE-2021-25955

CVE-2021-25955 PUBLISHED CVSS 9 CRITICAL

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.

PackageEcosystemFixed in
dolibarr/dolibarrPackagist14.0.0, 13.0.2
dolibarrdolibarrv13.0.2, unspecified, 13.0.2

Risk scores

CVSS 3.1
9
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
Dolibarrdolibarrunspecified, v2.8.1
dolibarrdolibarr2.8.1
Dolibarrdolibarr*, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›