Chamilo LMS: Stored XSS in Social Wall post content via API (v-html without DOMPurify)
- 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 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.
| Product | Versions |
|---|---|
| chamilo-lms chamilo | < 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-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
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.