# CVE-2021-3991: Improper Authorization in dolibarr/dolibarr

Source: https://junglewise.ai/threats/cve-2021-3991-improper-authorization-in-dolibarr-dolibarr  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-15  
License: CC BY 4.0 with a link back

CVE-2021-3991 · Severity: low · CVSS 3 · Published 2024-11-15

Improper Authorization in dolibarr/dolibarr

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

## Quick answers

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

**How severe is CVE-2021-3991?** Low severity, with a CVSS score of 3, published 15 November 2024.

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

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

**Am I affected by CVE-2021-3991?** 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 15.0.0 or later

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


## Affected products

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

## Identifiers

- CVE-2021-3991
- GHSA-wppr-j57c-8jpm

## 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)
