Dolibarr Events/Agenda Module Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in the Events/Agenda module of Dolibarr version 21.0.0-beta. This vulnerability allows attackers to execute arbitrary web scripts or HTML by injecting a crafted payload into the Title parameter. The issue arises because the module does not properly sanitize user input before displaying it, particularly in tooltips that can be triggered by hovering over event titles.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed when a user hovers over the affected element. If the victim has administrative privileges, this could lead to unauthorized actions being performed on behalf of the admin, potentially allowing an attacker to gain full control over the application.

Reproduction

To reproduce this vulnerability, inject a script payload into the Title parameter of an event in the Agenda module. Once the event is saved, hover over the event title to trigger the tooltip, which will execute the injected script. This can be automated with a Cross-Site Request Forgery (CSRF) attack to escalate privileges if the victim is an admin.

Remediation

Users can update to Dolibarr version 21.0.1, where this vulnerability has been fixed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
7.5
exploitability
6.3
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.