CVE-2018-19995 Dolibarr stored cross-site scripting (XSS) vulnerability
Authenticated attackers can inject malicious scripts via address or town fields in Dolibarr, potentially leading to session hijacking or code execution.
- 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-2018-19995?
CVE-2018-19995 is a medium-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 3 Jan 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A stored cross-site scripting (XSS) vulnerability in Dolibarr 8.0.2 allows remote authenticated users to inject arbitrary web script or HTML via the "address" (POST) or "town" (POST) parameter to user/card.php.
Weakness: CWE-79
Which versions are affected by CVE-2018-19995?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | 8.0.4 |
dolibarr/dolibarr Packagist | All versions | 8.0.4 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2018-19995?
Upgrade dolibarr/dolibarr to 8.0.4 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-2018-19995 being exploited?
There is no known exploitation of CVE-2018-19995 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as GHSA-3v8x-286h-9pxp, UBUNTU-CVE-2018-19995.