NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-31018: Dolibarr Allows Code Injection through its Website Module

highCVSS 3.1 8.8GHSA-676v-wh57-p375

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.

Published Apr 21, 2026 · Updated Apr 25, 2026

Affected packages

dolibarr/dolibarr

Ecosystem
Composer (PHP)
Affected
<= 15.0.3
Fixed in
No patched version yet
Check
composer show dolibarr/dolibarr

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries