Chamilo Learning Management System Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in Chamilo Learning Management System versions prior to 1.11.30. The issue resides in the session_category_add.php script, where improper sanitization of the Category Name field allows privileged users to inject persistent JavaScript payloads. These injected scripts are executed when accessing add_many_sessions_to_category.php, potentially compromising the sessions of administrative users.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected JavaScript is executed in the context of the user accessing the vulnerable page. In this case, it can hijack the sessions of other privileged users and escalate attacks in multi-admin environments.

Reproduction

To reproduce this vulnerability, log in as an administrative user and navigate to session_category_add.php. In the Category Name field, insert a JavaScript payload, such as an image tag with an onerror attribute. After submitting the form, the injected script will execute when any privileged user accesses add_many_sessions_to_category.php.

Remediation

Users can upgrade to Chamilo version 1.11.30 or later, where this vulnerability has been patched.

Added: Mar 2, 2026, 4:29 PM
Updated: Mar 2, 2026, 9:48 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
5.4
exploitability
5.9
remediation
7.7
relevance
3.4
threat
6.4
urgency
2.9
incentive
0.0

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