CVE-2017-1000509 Dolibarr ERP and CRM contain XSS Vulnerability
An attacker can execute arbitrary JavaScript code in the context of other users via a Cross-Site Scripting vulnerability in Dolibarr product details.
- 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-2017-1000509?
CVE-2017-1000509 is a medium-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 9 Feb 2018. 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 version 6.0.2 contains a Cross Site Scripting (XSS) vulnerability in Product details that can result in execution of javascript code.
Weakness: CWE-79
Which versions are affected by CVE-2017-1000509?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | 7.0.0 |
dolibarr/dolibarr Packagist | All versions | 7.0.0 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2017-1000509?
Upgrade dolibarr/dolibarr to 7.0.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-2017-1000509 being exploited?
There is no known exploitation of CVE-2017-1000509 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as GHSA-hqfh-p9h7-m6v5, UBUNTU-CVE-2017-1000509.