Skip to content
OpenAdvisories
High · 7.1 CVE-2024-23817 BIT-dolibarr-2024-23817EUVD-2024-1139GHSA-7947-48q7-cp5m

Dolibarr Application Home Page HTML injection vulnerability

Published Jan 25, 2024 · Updated Jun 17, 2025 · Assigned by GitHub_M

Description

Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. Version 18.0.4 has a HTML Injection vulnerability in the Home page of the Dolibarr Application. This vulnerability allows an attacker to inject arbitrary HTML tags and manipulate the rendered content in the application's response. Specifically, I was able to successfully inject a new HTML tag into the returned document and, as a result, was able to comment out some part of the Dolibarr App Home page HTML code. This behavior can be exploited to perform various attacks like Cross-Site Scripting (XSS). To remediate the issue, validate and sanitize all user-supplied input, especially within HTML attributes, to prevent HTML injection attacks; and implement proper output encoding when rendering user-provided data to ensure it is treated as plain text rather than executable HTML.

Affected products

VendorProductAffectedFixed
Dolibarr dolibarr = 18.0.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS dolibarr No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist dolibarr/dolibarr >= 18.0.4, < 18.0.7 18.0.7 GHSA-7947-48q7-cp5m

References