CVE-2026-45143

Chamilo LMS: Student-to-admin stored XSS in private messages via v-html

Published Sep 17, 2026 CVSS 3.1 · 9 Critical EPSS < 1% KEV · Not listed
Description
Chamilo LMS is an open-source learning management system. From 2.0.0 through at least 2.1.0, Chamilo LMS stores private Message.content without server-side sanitization and renders it as HTML in assets/vue/views/message/MessageShow.vue and public/main/template/default/message/view_message.html.twig. An authenticated low-privilege user, including a student, can directly address crafted message content to an administrator because the message creation flow permits a sender to select another user as the recipient. The content executes in the recipient's browser when the recipient opens the routine inbox or message view, without requiring a link click, and can expose session credentials or permit actions as the administrator. This vulnerability is fixed in 2.0.1.

Analysis

AI-generated

Technical impact

This vulnerability allows an authenticated low‑privilege user, such as a student, to embed arbitrary HTML content in private messages. The content is stored without server‑side sanitization and rendered as HTML in the recipient’s browser when the message is viewed. When an administrator receives such a crafted message, the malicious script executes automatically, allowing the attacker to steal session credentials or impersonate the administrator to carry out actions within the LMS. The flaw is a classic Stored XSS identified as CWE‑79 and can lead to confidentiality, integrity, and availability impacts for the affected administrator account.

Affected Systems

The problem exists in Chamilo LMS versions 2.0.0 through at least 2.1.0. The vulnerability was introduced when message content was rendered in assets/vue/views/message/MessageShow.vue and public/main/template/default/message/view_message.html.twig without sanitization. It is fixed in release 2.0.1 and in later versions. Only the Chamilo LMS product is affected.

Risk and Exploitability

The CVSS score of 9 indicates a high‑severity flaw. The EPSS score of less than 1% suggests that, while the potential impact is severe, the likelihood of real‑world exploitation is currently very low. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to have an authenticated account with permission to send messages, which is a low privilege. The attack vector is client‑side; no additional user interaction such as clicking a link is needed beyond opening the existing inbox or message view. Thus an educator or administrator who regularly checks messages is at risk if a malicious message is received from a low‑privilege user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Chamilo LMS to version 2.0.1 or later where the message rendering pipeline sanitizes input
  • If upgrading is delayed, restrict the ability of low‑privilege users to send messages to administrators or disable HTML rendering for private messages
  • Implement a client‑side or server‑side sanitizer that removes disallowed tags and attributes from message content to mitigate XSS risk

Generated by OpenCVE AI on September 18, 2026 at 23:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Chamilo
Chamilo chamilo Lms
Vendors & Products Chamilo
Chamilo chamilo Lms
Type Values Removed Values Added
Description Chamilo LMS is an open-source learning management system. From 2.0.0 through at least 2.1.0, Chamilo LMS stores private Message.content without server-side sanitization and renders it as HTML in assets/vue/views/message/MessageShow.vue and public/main/template/default/message/view_message.html.twig. An authenticated low-privilege user, including a student, can directly address crafted message content to an administrator because the message creation flow permits a sender to select another user as the recipient. The content executes in the recipient's browser when the recipient opens the routine inbox or message view, without requiring a link click, and can expose session credentials or permit actions as the administrator. This vulnerability is fixed in 2.0.1.
Title Chamilo LMS: Student-to-admin stored XSS in private messages via v-html
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 8:55 PM
Reserved
May 8, 2026, 8:44 PM
Status
Deferred
Published
Sep 17, 2026, 9:17 PM
Modified
Sep 29, 2026, 7:07 PM