CVE-2026-31018: Code Injection

Published Apr 21, 2026
·
Updated

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.

Affected Software

2 affected components
dolibarr Dolibarr ERP & CRM<=22.0.4
dolibarr Dolibarr Erp\/crm<=22.0.4

Event History

Apr 21, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31018?

CVE-2026-31018 is classified as a medium severity vulnerability due to improper input validation allowing PHP code injection.

2

How do I fix CVE-2026-31018?

To fix CVE-2026-31018, upgrade Dolibarr ERP & CRM to version 22.0.5 or later, which addresses the oversight in input parameter handling.

3

Who is affected by CVE-2026-31018?

CVE-2026-31018 affects users of Dolibarr ERP & CRM versions up to and including 22.0.4.

4

What type of vulnerability is CVE-2026-31018?

CVE-2026-31018 is a code injection vulnerability that allows an authenticated user to inject malicious PHP code.

5

What are the potential impacts of CVE-2026-31018?

Potential impacts of CVE-2026-31018 include unauthorized execution of PHP code on the server, which may lead to data breaches or system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203