{"id":"CVE-2025-50186","state":"PUBLISHED","title":"Chamilo: Stored XSS via Malicious CSV Filename in user_import.php","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.","publishedAt":"2026-03-02T14:36:27.635Z","updatedAt":"2026-03-02T19:31:41.015Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["chamilo chamilo-lms"],"affected":[{"vendor":"chamilo","product":"chamilo-lms","versions":[{"version":"< 1.11.30","status":"affected"}]}],"references":["https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-wrx6-5v5r-mmgx","https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4","https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.30"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/50xxx/CVE-2025-50186.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-50186","state":"PUBLISHED","datePublished":"2026-03-02T14:36:27.635Z","dateUpdated":"2026-03-02T19:31:41.015Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-06-13T19:17:51.727Z"},"containers":{"cna":{"title":"Chamilo: Stored XSS via Malicious CSV Filename in user_import.php","descriptions":[{"lang":"en","value":"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":[{"vendor":"chamilo","product":"chamilo-lms","versions":[{"version":"< 1.11.30","status":"affected"}]}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-wrx6-5v5r-mmgx","name":"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","name":"https://github.com/chamilo/chamilo-lms/commit/9fef8f30b41d586cb4f4fc823906c16a12ae0ff4","tags":["x_refsource_MISC"]},{"url":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.30","name":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.30","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-02T14:36:27.635Z"},"source":{"advisory":"GHSA-wrx6-5v5r-mmgx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-02T19:31:31.308887Z","id":"CVE-2025-50186","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-02T19:31:41.015Z"}}]}}}