CVE-2026-54747
Received Received - Intake

Stored XSS in Chamilo LMS Course Description

Vulnerability report for CVE-2026-54747, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: GitHub, Inc.

Description

Chamilo LMS is an open-source learning management system. Prior to 2.0.3, public/main/course_description/course_description_controller.php assigns contentDescription directly from a teacher's request in the Doctrine-based add and edit paths without cross-site scripting sanitization. The stored value is rendered by src/CoreBundle/Resources/views/Course/about.html.twig through description with raw output, and the /course/{id}/about route is publicly accessible. A teacher can store active content that executes when an authenticated or unauthenticated visitor views the course description, enabling session theft, credential phishing, defacement, or actions in an authenticated victim's session. This issue is fixed in version 2.0.3.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
chamilo chamilo_lms 2.0.3
chamilo chamilo_lms to 2.0.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-54747 is a stored Cross-Site Scripting (XSS) vulnerability in Chamilo LMS versions 2.0.2 and earlier. It occurs in the course description controller where user input in the contentDescription field is stored without sanitization. The stored malicious script is later rendered in the course about page without escaping, allowing execution of arbitrary JavaScript when the page is viewed.

Detection Guidance

To detect this vulnerability, check if your Chamilo LMS version is 2.0.2 or earlier. Inspect the course_description_controller.php file for unsanitized contentDescription assignments in the add and edit paths. Look for the use of {{ description | raw }} in about.html.twig. Test by injecting a harmless payload like <img src=x onerror=alert(1)> in a course description and verifying if it executes unescaped.

Impact Analysis

An attacker with Teacher or Course Manager privileges can inject malicious scripts into course descriptions. When users view the course about page, the script executes allowing session theft, credential phishing, website defacement, or performing actions in the victim's authenticated session. Both authenticated and unauthenticated users can be affected since the affected page is publicly accessible.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, which may violate GDPR's data protection requirements and HIPAA's security rules for protected health information. The potential for credential theft and session hijacking creates risks of unauthorized data exposure or modification, potentially resulting in compliance violations and regulatory penalties.

Mitigation Strategies

Immediately update Chamilo LMS to version 2.0.3 or later. Apply the Security::remove_XSS() sanitization to the contentDescription field in the course_description_controller.php file. Clear caches, reinstall dependencies, and rebuild assets after updating. Ensure directory permissions are correctly set.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54747. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...