CVE-2023-38888 Cross Site Scripting vulnerability in Dolibarr ERP CRM
Remote attackers can execute arbitrary code and read sensitive data via XSS in the Dolibarr ERP CRM REST API module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-38888?
CVE-2023-38888 is a critical cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 20 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive information and execute arbitrary code via the REST API module, related to analyseVarsForSqlAndScriptsInjection and testSqlAndScriptInject.
Weakness: CWE-79
Which versions are affected by CVE-2023-38888?
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 | 17.0.1 |
dolibarr/dolibarr Packagist | All versions | 17.0.1 |
dolibarr Bitnami | All versions to 17.0.1 | None |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2023-38888?
Upgrade dolibarr/dolibarr to 17.0.1 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-2023-38888 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38888 exists.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as BIT-dolibarr-2023-38888, GHSA-62wf-h26v-5m57, UBUNTU-CVE-2023-38888.