Chamilo LMS: Stored XSS in Learning Path TOC via malicious SCORM package item title
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Jun 16, 2026
Description
Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.3, main/lp/scormItem.class.php and public/main/lp/scormItem.class.php store an attacker-controlled title element from imsmanifest.xml without cross-site scripting sanitization when a teacher imports a SCORM package. The title reaches c_lp_item.title and is rendered by src/CoreBundle/Resources/views/LearnPath/scorm_list.html.twig through item.title with raw output while Twig auto-escaping is disabled; the default configuration does not apply the optional AI-disclosure sanitization path. Enrolled students or administrators who view the learning-path table of contents can execute the stored content in their browser sessions. This issue is fixed in versions 1.11.40 and 2.0.3.
| Product | Versions |
|---|---|
| chamilo-lms chamilo | < 1.11.40 Affected>= 2.0.0, < 2.0.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | GitHub_M |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-xfhv-qg8r-rc7w
- https://github.com/chamilo/chamilo-lms/commit/16837ff6c2db0f7345a5508791e1c23d84d9f6d0
- https://github.com/chamilo/chamilo-lms/commit/d945ecbd448ebe20fd6b815f080a3ba08687fc5f
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.