Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Unauthenticated network injection (AV:N/PR:N/AC:L) but requires an admin to view the stored payload (UI:R); script escapes into the admin session (S:C) with high confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Chamilo LMS versions 1.11.38 and earlier contain a stored cross-site scripting vulnerability in the user registration form that allows any unauthenticated attacker to execute arbitrary JavaScript in an administrator's browser session, leading to full platform admin account takeover. This has been patched in 1.11.40.
AnalysisAI
Stored cross-site scripting in Chamilo LMS 1.11.38 and earlier lets any unauthenticated attacker inject persistent JavaScript through the public user registration form, which then executes in an administrator's browser when they review registrations, enabling full admin account takeover. The flaw carries a CVSS 9.3 rating driven by its scope change and high confidentiality/integrity impact; no public exploit is identified at time of analysis, though the vendor GitHub Security Advisory (GHSA-gcjp-f7jm-rrrg) confirms the issue and a fix. Because the injection point is an anonymous, self-service form, mass or opportunistic abuse is realistic once a payload is planted.
Technical ContextAI
Chamilo LMS is a widely-used open-source PHP e-learning/course-management platform (CPE cpe:2.3:a:chamilo:chamilo-lms). The root cause is CWE-79 (improper neutralization of input during web page generation): user-supplied registration field data is stored without adequate output encoding and later rendered in a privileged administrative view. Because the malicious script runs inside the admin's authenticated session, the attacker inherits the admin's DOM context and session - the classic stored-XSS-to-privilege-escalation pattern, reflected in the CVSS scope change (S:C) where the vulnerable component (registration form) impacts a separate security authority (the admin session).
RemediationAI
Vendor-released patch: upgrade to Chamilo LMS 1.11.40, which remediates the stored XSS in the registration form, as documented in advisory GHSA-gcjp-f7jm-rrrg (https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-gcjp-f7jm-rrrg). If an immediate upgrade is not possible, reduce exposure by disabling public self-registration so anonymous users cannot submit the affected form (trade-off: legitimate users must be provisioned manually or via another flow), and require administrators to avoid opening the user/registration admin views until patched. As additional compensating controls, deploy a WAF rule to block script-bearing payloads in registration field submissions and enforce a strict Content-Security-Policy that disallows inline script execution in the admin interface (trade-off: CSP may break legitimate inline scripts and needs testing). These are mitigations only - upgrading to 1.11.40 is the durable fix.
More in Chamilo Lms
View allChamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.
Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex
Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra
Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C
Chamilo is a learning management system. [CVSS 8.8 HIGH]
Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi
Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi
Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit
Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-46038