# CVE-2025-50186: Chamilo: Stored XSS via Malicious CSV Filename in user_import.php

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 33% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-02T14:36:27.635Z
- Modified: 2026-06-17T09:34:49.407Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- chamilo chamilo-lms: < 1.11.30
- chamilo chamilo_lms: before 1.11.30

## References

- <https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-wrx6-5v5r-mmgx> (exploit, vendor-advisory)
- <https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4> (patch)
- <https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.30> (product, release-notes)

## Sources

- CVE List: [CVE-2025-50186](https://www.cve.org/CVERecord?id=CVE-2025-50186), CVE Terms of Use, modified 2026-03-02
- NVD: [CVE-2025-50186](https://nvd.nist.gov/vuln/detail/CVE-2025-50186), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50186 · Whole record: https://cve.day/CVE-2025-50186.json · Rebuilt by cve.day 2026-11-25T22:59:11.623Z
