Description
Chamilo LMS is an open-source learning management system. Prior to 2.0.3, POST /api/social_posts accepts attacker-controlled content that SocialPost::setContent stores without cross-site scripting sanitization, and assets/vue/components/social/SocialWallPost.vue renders post.content through v-html without sanitization. Any authenticated user can create a social-wall post that executes active content when another authenticated user views the wall. The script can run in an administrator's browser session and expose session data or perform actions with the victim's privileges. This issue is fixed in version 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
< 2.0.3affected
References
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-ppw9-gf4r-5c39 ↗
- https://github.com/chamilo/chamilo-lms/pull/8569 ↗
- https://github.com/chamilo/chamilo-lms/commit/04ca7fa3e80efb637290bea10d0baaa5dd8bc2a3 ↗
- https://github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2fcb6ad8 ↗
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3 ↗