CVE-2022-2060 Cross-site Scripting (XSS) - Stored in dolibarr/dolibarr
Attackers can inject malicious scripts into Dolibarr, potentially stealing user sessions or executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-2060?
CVE-2022-2060 is a high-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 13 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository dolibarr/dolibarr prior to 16.0.
Weakness: CWE-79
Which versions are affected by CVE-2022-2060?
3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | 16.0 |
dolibarr/dolibarr Packagist | All versions | 16.0 |
dolibarr Bitnami | All versions | 16.0.0 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2022-2060?
Upgrade dolibarr/dolibarr to 16.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-2060 being exploited?
There is no known exploitation of CVE-2022-2060 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as BIT-dolibarr-2022-2060, GHSA-8fvr-7945-mg7w, UBUNTU-CVE-2022-2060.