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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
chamilo chamilo-lms
< 1.11.40affected>= 2.0.0, < 2.0.3affected
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 ↗