# CVE-2024-34051: Reflected Cross-Site Scripting (XSS) in Dolibarr

Source: https://junglewise.ai/threats/cve-2024-34051-reflected-cross-site-scripting-xss-in-dolibarr  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-03  
License: CC BY 4.0 with a link back

CVE-2024-34051 · Severity: info · Published 2024-06-03

Reflected Cross-Site Scripting (XSS) in Dolibarr

Technologies: [dolibarr/dolibarr (Packagist)](https://junglewise.ai/threats/technologies/dolibarr-dolibarr). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-34051 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-34051 being exploited in the wild.

**How severe is CVE-2024-34051?** Informational severity, published 3 June 2024.

**Which products and versions are affected?** dolibarr/dolibarr (Packagist) ECOSYSTEM:introduced=0,fixed=19.0.2.

**Is there a fix for CVE-2024-34051?** Yes. dolibarr/dolibarr (Packagist): upgrade to 19.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-34051?** Check whether you run dolibarr/dolibarr (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- dolibarr/dolibarr (Packagist): upgrade to 19.0.2 or later

  ```sh
  composer require dolibarr/dolibarr:^19.0.2
  ```


## Affected products

- dolibarr/dolibarr (Packagist) ECOSYSTEM:introduced=0,fixed=19.0.2

## Identifiers

- CVE-2024-34051
- GHSA-hv2j-6654-x74q

## Related threats

- [Dolibarr SQL injection in localtax parameters](https://junglewise.ai/threats/cve-2026-33944-dolibarr-has-sql-injection-in-societe-class-societe-class-php-via)
- [Dolibarr ERP CRM improper authorization in Leave Request REST API](https://junglewise.ai/threats/cve-2026-10215-dolibarr-erp-crm-improper-authorization-in-leave-request-rest-api)
- [Dolibarr ERP CRM PHP code injection in install/step1.php](https://junglewise.ai/threats/cve-2018-25357-dolibarr-erp-crm-php-code-injection-in-install-step1-php)
- [Dolibarr has Insufficient Verification of Data Authenticity](https://junglewise.ai/threats/cve-2026-7689-dolibarr-has-insufficient-verification-of-data-authenticity)
- [Dolibarr ERP CRM SQL injection in Shipments API Endpoint](https://junglewise.ai/threats/cve-2026-7688-dolibarr-erp-crm-sql-injection-in-shipments-api-endpoint)
