Dolibarr ERP CRM through 24.0.3 Code Injection via Website Template Import

State
Published
Severity
8.7 High
Published
Nov 17, 2026
Updated
Nov 18, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

Description

Dolibarr ERP CRM through 24.0.3 contains a code injection vulnerability in Website::importWebSite() that allows website editors without PHP permission to execute code by importing templates. Attackers can import a template zip whose javascript.js.php contains PHP code, which the public javascript.js.php endpoint includes, executing code as the web server user.

ProductVersions
Dolibarr ERP CRM Dolibarr24.0.3 and earlier Affected

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.