Advisory

GHSA-676v-wh57-p375

Also known as: CVE-2026-31018

Summary

Dolibarr Allows Code Injection through its Website Module

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-21 15:32 UTC
Modified
2026-05-05 16:11 UTC

Affected packages and fixes

dolibarr/dolibarr

Packagist · All systems

Affected

  • introduced 0, last affected 15.0.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences