VDB
Sign up
CRITICAL9.0

GHSA-cpv8-6xgr-rmf6

Dolibarr Cross-site Scripting vulnerability

Quick fix

GHSA-cpv8-6xgr-rmf6 — dolibarr/dolibarr: upgrade to the fixed version with the command below.

composer require dolibarr/dolibarr:^14.0.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/dolibarr/dolibarr
Introduced in: 2.8.1Fixed in: 14.0.0
Fixcomposer require dolibarr/dolibarr:^14.0.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/dolibarr/dolibarr"]}'