GHSA-676v-wh57-p375
Dolibarr Allows Code Injection through its Website Module
Details
In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module is not applied consistently to all input parameters, allowing an authenticated user restricted to HTML/JavaScript editing to inject PHP code through unprotected inputs during website page creation.
A patch is available at https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for dolibarr/dolibarr (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-31018[ADVISORY]
- https://github.com/Dolibarr/dolibarr/commit/ba28d16da4cc0c221f49a878fecc8425501ceb96[WEB]
- https://github.com/Dolibarr/dolibarr[PACKAGE]
- https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0[WEB]
- https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.md[WEB]
- http://dolibarr.com[WEB]
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"]}'