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.
Remediation
References
Related Vulnerabilities
WordPress Plugin Simple Slide Show TimThumb Arbitrary File Upload (1.0)
phpMyAdmin 7PK - Security Features Vulnerability (CVE-2016-9865)
Microsoft SQL Server Elevation of Privilege Vulnerability (CVE-2021-1636)
Liferay Portal Other Vulnerability (CVE-2023-33947)
WordPress Plugin SEO Redirection-301 Redirect Manager Unspecified Vulnerability (8.7)