VDB
Sign up
HIGH8.8

GHSA-84gh-4m36-cgqx

Dolibarr SQL injection via type parameter in product/stats/card.php

Quick fix

GHSA-84gh-4m36-cgqx — dolibarr/dolibarr: upgrade to the fixed version with the command below.

composer require dolibarr/dolibarr:^5.0.4

Details

Dolibarr ERP/CRM is affected by SQL injection in versions before 5.0.4 via product/stats/card.php (type parameter).

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/dolibarr/dolibarr
Introduced in: 0Fixed in: 5.0.4
Fixcomposer require dolibarr/dolibarr:^5.0.4

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/dolibarr/dolibarr"]}'