CVE-2024-55227: Dolibarr Cross-site Scripting Vulnerability in Events/Agenda Module

dolibarr/dolibarr Updated 14 Dec 2025

Summary

27/01/2025
No i
Low
2.1

CVE-2024-55227: Dolibarr Cross-site Scripting vulnerability. Affects dolibarr/dolibarr versions 21.0.0-beta. No fix is published. How to fix ↓

Also tracked for

The same CVE-2024-55227 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Dolibarr is an open-source ERP and CRM software designed for small and medium-sized businesses. It provides a range of functionalities including invoicing, project management, and event scheduling. The Events/Agenda module allows users to manage events and agendas effectively. However, a vulnerability in this module exposes users to cross-site scripting (XSS) attacks, potentially compromising the integrity of the application and its users.

Vulnerability Detail

The vulnerability arises from improper validation of user input in the Title parameter of the Events/Agenda module in Dolibarr v21.0.0-beta. Attackers can exploit this flaw by injecting malicious scripts or HTML code, which can then be executed in the context of the user's browser. This could lead to unauthorized actions being performed on behalf of the user, data theft, or session hijacking. The vulnerability is classified as CWE-79, indicating its nature as a cross-site scripting issue.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can sanitize input in the Title parameter before submission. This can be done by implementing input validation to strip out any HTML or script tags. For example, in PHP, you can use the following code: '

htmlspecialchars($title, ENT_QUOTES, 'UTF-8');

' to prevent script execution.

Conclusion

The CVE-2024-55227 vulnerability in Dolibarr's Events/Agenda module poses a significant risk due to its potential for cross-site scripting attacks. Users are strongly encouraged to update their installations to the latest version to mitigate this risk. Additionally, implementing input validation can serve as a temporary measure until the update is completed.

See every vulnerability recorded for dolibarr/dolibarr →

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary web scripts or HTML in the user's browser, potentially leading to data theft or unauthorized actions.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Yes, users are advised to update to the latest version of Dolibarr where the vulnerability has been patched.

Implement input validation and sanitization as a temporary workaround to mitigate the risk of exploitation.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the composer.lock file, providing real-time insights without requiring access to the code.

Related vulnerabilities

Recent vulnerabilities recorded for dolibarr/dolibarr.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback