Description
Chamilo LMS is an open-source learning management system. From 2.0.0 until 2.0.1, `GET /user/{username}` is anonymously reachable and renders six user-editable profile fields (`firstname`, `lastname`, `competences`, `openarea`, `teach`, and `diplomas`) inside `{% autoescape false %}`, without server-side sanitization on the write path. A ROLE_STUDENT attacker can plant HTML in their own profile; self-registration, when enabled, lets an otherwise anonymous attacker obtain that role. The stored content executes in the browser of any visitor, including administrators, who follows the public profile link, potentially allowing account takeover through session, JWT, or `localStorage` exfiltration. This issue is fixed in version 2.0.1.
Published: 2026-10-30
Score: 8.9 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Immediately
AI Analysis

Impact

Chamilo LMS 2.0.0 through 2.0.1 exposed the public user profile view endpoint for anonymous access. The application rendered six user‑editable fields – firstname, lastname, competences, openarea, teach, and diplomas – inside a template block that disabled automatic escaping. No sanitization was performed on input, allowing an attacker to store arbitrary HTML or JavaScript in any user profile. When another user, including an administrator, views the profile, the malicious content executes in the victim’s browser, enabling theft of session cookies, JWT tokens, or data from localStorage and potentially leading to account takeover. This flaw aligns with CWE‑79, a category of stored cross‑site scripting vulnerabilities.

Affected Systems

The affected product is Chamilo Learning Management System, version 2.0.0 up to and including 2.0.1, as identified by the vendor Chamilo. An anonymous user can view the profile, and a user with a student role can write malicious content. The issue was corrected in the 2.0.1 release, so any deployment running these versions is susceptible.

Risk and Exploitability

The CVSS score for this vulnerability is 8.9, indicating a high severity. The EPSS score is not available, so the exact likelihood of exploitation in the current environment is uncertain, but the publicly discoverable functionality provides a straightforward attack vector that does not require privileged access or complex conditions. The vulnerability is not listed in CISA’s KEV catalog, yet the conditions for exploitation are minimal: an attacker can register a new student account or use an existing one, inject malicious script into their public profile, and have the payload run in the browsers of anyone who visits the profile page. The potential impact is significant, with possibilities of credential theft and privilege escalation on the system. Therefore, the risk remains high until the software is updated or otherwise mitigated.

Generated by OpenCVE AI on October 30, 2026 at 15:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Chamilo LMS to version 2.0.1 or later to apply the vendor fix that sanitizes profile field rendering.
  • If an immediate upgrade is not feasible, disable the public profile viewing feature or revoke read permissions on the /user/{username} endpoint so that anonymous users cannot access the profile.
  • Sanitize or escape the contents of all user‑profile fields before rendering them in any template to prevent script execution, ensuring that the rendering context is protected against cross‑site scripting attacks.

Generated by OpenCVE AI on October 30, 2026 at 15:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Chamilo
Chamilo chamilo Lms
Vendors & Products Chamilo
Chamilo chamilo Lms

Fri, 30 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Description Chamilo LMS is an open-source learning management system. From 2.0.0 until 2.0.1, `GET /user/{username}` is anonymously reachable and renders six user-editable profile fields (`firstname`, `lastname`, `competences`, `openarea`, `teach`, and `diplomas`) inside `{% autoescape false %}`, without server-side sanitization on the write path. A ROLE_STUDENT attacker can plant HTML in their own profile; self-registration, when enabled, lets an otherwise anonymous attacker obtain that role. The stored content executes in the browser of any visitor, including administrators, who follows the public profile link, potentially allowing account takeover through session, JWT, or `localStorage` exfiltration. This issue is fixed in version 2.0.1.
Title Chamilo LMS: Stored XSS in public user-profile fields
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L'}


Subscriptions

Chamilo Chamilo Lms
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T14:27:29.397Z

Reserved: 2026-05-08T20:44:38.963Z

Link: CVE-2026-45144

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T15:16:51.783

Modified: 2026-10-30T15:16:51.783

Link: CVE-2026-45144

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T16:00:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')