CVE-2026-31018
JSON

8.8high

Dolibarr Allows Code Injection through its Website Module

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-676v-wh57-p375

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
dolibarr/dolibarr (Packagist)up to 15.0.3GitHub Advisory Database
dolibarr dolibarr_erp/crmup to 22.0.4NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94CWE-284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

En Dolibarr ERP y CRM menor o igual que 22.0.4, la detección de código PHP y la aplicación de permisos de edición en el módulo de Sitio Web no se aplica de manera consistente a todos los parámetros de entrada, permitiendo a un usuario autenticado restringido a la edición de HTML/JavaScript inyectar código PHP a través de entradas no protegidas durante la creación de páginas del sitio web.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31018 changed 2026-07-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-676v-wh57-p375 changed 2026-05-05CC-BY-4.0
NVDCVE-2026-31018 changed 2026-11-11Public domain