Chamilo chamilo-lms
Chamilo LMS: Stored XSS in public user-profile fields
Chamilo LMS is an open-source learning management system. From 2.0.0 until 2.0.1, `GET /user/{username}` is anonymously reachable and renders six user-editable profile fields (`firstname`, `lastname`, `competences`, `openarea`, `teach`, and `diplomas`) inside `{% autoescape false %}`, without server-side sanitization on the write path. A ROLE_STUDENT attacker can plant HTML in their own profile; self-registration, when enabled, lets an otherwise anonymous attacker obtain that role. The stored content executes in the browser of any visitor, including administrators, who follows the public profile link, potentially allowing account takeover through session, JWT, or `localStorage` exfiltration. This issue is fixed in version 2.0.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 2.0.1
Fixed in 2.0.1
Mitigation
Upgrade chamilo-lms to 2.0.1 or later.
References
- Vendor advisory github.com/chamilo/chamilo-lms/security/adviso…
- Patch github.com/chamilo/chamilo-lms/commit/0ba260a8…
- Release notes github.com/chamilo/chamilo-lms/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.