CVE-2026-39878

Chamilo stored XSS via user registration leads to admin account takeover

Published Jul 20, 2026 CVSS 3.1 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Chamilo LMS versions 1.11.38 and earlier contain a stored cross-site scripting vulnerability in the user registration form that allows any unauthenticated attacker to execute arbitrary JavaScript in an administrator's browser session, leading to full platform admin account takeover. This has been patched in 1.11.40.

Analysis

AI-generated

Technical impact

A stored cross‑site scripting flaw exists in the Chamilo Learning Management System’s user registration form. An attacker who does not need to be logged in can submit a malicious JavaScript payload that is retained in the system’s database. When an administrator later opens the registration record or logs in, the script runs within the admin’s browser context, allowing the attacker to hijack the session and gain full control of the platform.

Affected Systems

All installations of Chamilo LMS running version 1.11.38 or earlier are affected. The vulnerability is limited to the user registration functionality and does not compromise other areas of the system. A patch is already available in version 1.11.40.

Risk and Exploitability

The flaw carries a CVSS score of 9.3, indicating very high severity, while the EPSS score falls below 1 %, implying a low probability of exploitation. It is not listed in the CISA KEV catalog. Based on the description, it is inferred that the registration form is accessible to unauthenticated users; therefore an attacker only needs to submit a registration form. When an administrator later views the registration or logs in, the stored script executes with admin privileges, enabling a full takeover of the LMS.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Chamilo LMS to version 1.11.40 or later to apply the vendor fix.
  • If an upgrade cannot be performed immediately, disable public user registration to block the attack vector until the patch is deployed.
  • Implement proper input validation or output escaping on the registration form so that any embedded scripts are rendered harmless, following standard XSS mitigation practices.

Generated by OpenCVE AI on July 30, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Chamilo
Chamilo chamilo Lms
Vendors & Products Chamilo
Chamilo chamilo Lms
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Chamilo LMS versions 1.11.38 and earlier contain a stored cross-site scripting vulnerability in the user registration form that allows any unauthenticated attacker to execute arbitrary JavaScript in an administrator's browser session, leading to full platform admin account takeover. This has been patched in 1.11.40.
Title Chamilo stored XSS via user registration leads to admin account takeover
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 21, 2026, 7:58 PM
Reserved
Apr 7, 2026, 8:32 PM
Status
Deferred
Published
Jul 20, 2026, 6:16 PM
Modified
Oct 24, 2026, 8:10 PM