GitHub Advisoryadvisory · Packagist

GHSA-676v-wh57-p375 Dolibarr Allows Code Injection through its Website Module

HIGH Published 2026-04-21 Modified 2026-04-25 Official page ↗
Aliases
CVE-2026-31018
Ecosystem
Packagist
Packages
dolibarr/dolibarr
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2026-04-25

Affected packages

• Packagist dolibarr/dolibarr: <= 15.0.3 (no fix yet)

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. A patch is available at https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0.

Related

Alias · CVE (1)

  • CVE-2026-31018 In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module is not applied consistently to… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References