CVE-2026-61582: Chamilo LMS: Stores XSS in update_users
Chamilo LMS is an open-source learning management system. Prior to 1.11.40, main/inc/ajax/usermanager.ajax.php exposes the updateusers action without an authorization check and stores attacker-controlled firstname, lastname, and email values without HTML sanitization. An unauthenticated attacker can modify another user's profile fields, and the stored content executes when userportal.php, the administrative user listing, user information, social profile, course participant list, or message-composer recipient header renders the modified account. Targeting an administrator account can expose administrator-session data or permit actions in that session. This issue is fixed in version 1.11.40.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.11.40
Event History
Frequently Asked Questions
Who can exploit this issue?
An unauthenticated attacker can invoke the exposed update_users action. No authentication or authorization check is required for that action.
What can an attacker change, and why is an administrator account especially sensitive?
An attacker can modify another user's firstname, lastname, and email fields with unsanitized content. If the targeted account is an administrator, rendered payloads can expose administrator-session data or permit actions in that administrator session.
Where might a malicious profile value execute?
The stored content executes when the affected account is rendered in user_portal.php, the administrative user listing, user information, social profiles, course participant lists, or the message-composer recipient header.
Which versions are affected?
Chamilo LMS versions prior to 1.11.40 are affected. The issue is fixed in version 1.11.40.