What’s Vulnerable › Vulnerabilities
CVE-2025-50186: Chamilo: Stored XSS via Malicious CSV Filename in user_import.php
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-02 · updated 2026-06-17
- Weakness: CWE-79
Description
Chamilo is a learning management system. Prior to version 1.11.30, a stored cross-site scripting (XSS) vulnerability exists due to insufficient sanitization of CSV filenames. An attacker can upload a maliciously named CSV file (e.g., <img src=q onerror=prompt(8)>.csv) that leads to JavaScript execution when viewed by administrators or users with access to import logs or file views. This issue has been patched in version 1.11.30.
Affected products
- chamilo-lms: before 1.11.30 — fixed in 1.11.30
How to fix
Upgrade to a fixed version: chamilo-lms 1.11.30. Check the vendor advisory for mitigations.
References
- https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.30
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-wrx6-5v5r-mmgx
Get alerted when CVE-2025-50186 or the next vulnerability affects your stack