CVE-2021-25955
PHP vulnerability analysis and mitigation

Overview

In Dolibarr ERP CRM's WYSIWYG Editor module, versions 2.8.1 to v13.0.2 are affected by a stored Cross-Site Scripting (XSS) vulnerability. The vulnerability was discovered and disclosed on August 15, 2021, and received a CVSS v3.1 score of 9.0 (CRITICAL) (NVD).

Technical details

The vulnerability allows low-privileged application users to store malicious scripts in the 'Private Note' field at the '/adherents/note.php?id=1' endpoint. These scripts are executed in a victim's browser when they open the page containing the vulnerable field. The vulnerability is particularly severe when combined with an Improper Access Control vulnerability on Private notes, as it could lead to privilege escalation (WhiteSource).

Impact

When exploited, the vulnerability can lead to full account takeover, particularly if the victim is a highly privileged administrator. The injected scripts can extract the Session ID, which combined with other vulnerabilities related to Private notes access control, enables privilege escalation for low-privileged users (WhiteSource).

Mitigation and workarounds

The recommended mitigation is to upgrade to Dolibarr version 14.0.0 or later. A security patch was implemented to enhance the sanitizing of input, as evidenced by the commit that addresses the vulnerability (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management