Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-50186: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in chamilo chamilo-lms

0
Medium
VulnerabilityCVE-2025-50186cvecve-2025-50186cwe-79
Published: Mon Mar 02 2026 (03/02/2026, 14:36:27 UTC)
Source: CVE Database V5
Vendor/Project: chamilo
Product: chamilo-lms

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/09/2026, 17:19:18 UTC

Technical Analysis

Chamilo LMS, an open-source learning management system, suffers from a stored cross-site scripting (XSS) vulnerability identified as CVE-2025-50186. This vulnerability exists in versions prior to 1.11.30 due to insufficient sanitization of CSV filenames uploaded to the system. An attacker with authenticated access can upload a CSV file with a maliciously crafted filename containing executable JavaScript code (e.g., <img src=q onerror=prompt(8)>.csv). When administrators or users with permissions to view import logs or file listings access these filenames, the embedded script executes in their browsers. This leads to potential compromise of session tokens, user impersonation, or other malicious actions within the context of the LMS. The vulnerability requires authentication and user interaction (viewing the filename), limiting remote exploitation scope. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N) reflects network attack vector, low attack complexity, high privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity, with no impact on availability. No known exploits have been reported in the wild, but the vulnerability poses a risk to organizations relying on Chamilo LMS for educational or training purposes. The issue has been addressed in version 1.11.30 by properly sanitizing filenames to neutralize malicious input.

Potential Impact

The primary impact of this vulnerability is on the confidentiality and integrity of user sessions and data within the Chamilo LMS environment. Successful exploitation could allow attackers to execute arbitrary JavaScript in the context of privileged users, potentially leading to session hijacking, credential theft, or unauthorized actions within the LMS. While availability is not affected, the compromise of administrative accounts or sensitive user data could disrupt educational operations and erode trust in the platform. Organizations using vulnerable versions risk exposure to targeted attacks, especially from insiders or authenticated users with malicious intent. The requirement for authentication and user interaction reduces the likelihood of widespread automated exploitation but does not eliminate risk in environments with many users and frequent file uploads. The vulnerability could be leveraged in multi-stage attacks to gain deeper access or pivot to other systems connected to the LMS.

Mitigation Recommendations

Organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the vulnerability is patched. Until upgrade is possible, implement strict access controls to limit who can upload files and view import logs or file listings. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious file names containing script tags or event handlers. Educate administrators and users to be cautious when viewing filenames and logs, especially those uploaded by untrusted users. Regularly audit file upload logs and monitor for anomalous activity. Consider disabling CSV file uploads if not essential or restricting uploads to trusted users only. Implement Content Security Policy (CSP) headers to mitigate the impact of any injected scripts by restricting script execution sources. Conduct periodic security reviews and penetration testing focused on input validation and file handling components of the LMS.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-06-13T19:17:51.727Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69a5a50b32ffcdb8a23b6e49

Added to database: 3/2/2026, 2:56:11 PM

Last enriched: 3/9/2026, 5:19:18 PM

Last updated: 4/16/2026, 3:30:08 AM

Views: 54

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses