CVE-2020-13239 Dolibarr Stored Cross-site Scripting via file upload
Attackers can execute arbitrary scripts in victim browsers via malicious HTML uploads in the DMS/ECM module, potentially leading to session hijacking.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-13239?
CVE-2020-13239 is a medium-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 20 May 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The DMS/ECM module in Dolibarr 11.0.4 renders user-uploaded .html files in the browser when the attachment parameter is removed from the direct download link. This causes XSS.
Weakness: CWE-79
Which versions are affected by CVE-2020-13239?
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 | None |
dolibarr/dolibarr Packagist | All versions | None |
dolibarr Bitnami | From 11.0.4 to 11.0.4 | None |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2020-13239?
No fix has been published for CVE-2020-13239 yet. Limit exposure of the affected software until one is available.
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-2020-13239 being exploited?
There is no known exploitation of CVE-2020-13239 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as BIT-dolibarr-2020-13239, GHSA-fvf9-2hjp-w936, UBUNTU-CVE-2020-13239.