What’s Vulnerable › Vulnerabilities

CVE-2025-50186: 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.

Affected products

How to fix

Upgrade to a fixed version: chamilo-lms 1.11.30. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-50186 or the next vulnerability affects your stack