Dolibarr Allows Code Injection through its Website Module
High severity
GitHub Reviewed
Published
Apr 21, 2026
to the GitHub Advisory Database
•
Updated Apr 25, 2026
Description
Published by the National Vulnerability Database
Apr 21, 2026
Published to the GitHub Advisory Database
Apr 21, 2026
Reviewed
Apr 25, 2026
Last updated
Apr 25, 2026
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