CVE-2020-13239 Dolibarr Stored Cross-site Scripting via file upload

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versionsNone
dolibarr/dolibarr PackagistAll versionsNone
dolibarr BitnamiFrom 11.0.4 to 11.0.4None

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.

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2020-13239, GHSA-fvf9-2hjp-w936, UBUNTU-CVE-2020-13239.

Is CVE-2020-13239 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free