CVE-2019-19210 Dolibarr ERP and CRM contain XSS Vulnerability

Medium 5.4 Published Updated

Attackers can execute arbitrary scripts in victim browsers by uploading HTML documents that are served with incorrect content types.

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
Available

What is CVE-2019-19210?

CVE-2019-19210 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Mar 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

Dolibarr ERP/CRM before 10.0.3 allows XSS because uploaded HTML documents are served as text/html despite being renamed to .noexe files.

Weakness: CWE-79

Which versions are affected by CVE-2019-19210?

2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions10.0.3
dolibarr/dolibarr PackagistAll versions10.0.3

Products include Dolibarr Dolibarr.

How do I fix CVE-2019-19210?

Upgrade dolibarr/dolibarr to 10.0.3 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-2019-19210 being exploited?

There is no known exploitation of CVE-2019-19210 in the wild and no public exploit code.

Sources

Also known as GHSA-87r3-4gc8-f897, UBUNTU-CVE-2019-19210.

Is CVE-2019-19210 in your software?

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

Check your SBOMs for free