{"id":"CVE-2025-50186","published":"2026-03-02T14:36:27Z","modified":"2026-03-02T19:31:41Z","title":"Chamilo: Stored XSS via Malicious CSV Filename in user_import.php","vendor":"chamilo","product":"chamilo-lms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00351,"percentile":0.29399,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-wrx6-5v5r-mmgx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4","tags":["x_refsource_MISC"]},{"url":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.30","tags":["x_refsource_MISC"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":5.88},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"chamilo","affectedVersions":[{"vendor":"chamilo","product":"chamilo-lms","versions":["< 1.11.30"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-02T19:31:31.308887Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-208155","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-chamilo-lms-cve-2021-32925","parents":[{"from":"CVE-2021-32925","to":"CVE-2025-50186","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["main/admin/user_import.php"],"commits":["https://github.com/chamilo/chamilo-lms/commit/e71437c8de809044ba3ae1b181d70857c050a3e9","https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4"],"basis":"shared function","functions":["processUsers"]}]}],"children":[{"from":"CVE-2025-50186","to":"CVE-2025-52468","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["main/admin/user_import.php"],"commits":["https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4","https://github.com/chamilo/chamilo-lms/commit/790ef513aceacae6fe5b6641145901f04c7992dd"],"basis":"shared function","functions":["processUsers"]}]}]}}