Skip to main content

Chamilo LMS CVE-2026-54747

| EUVDEUVD-2026-129143 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 GitHub_M
6.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as teacher/course manager
  2. Delivery
    Submit XSS payload in course description
  3. Exploit
    Payload stored unsanitized via Doctrine path
  4. Execution
    Victim loads public /course/{id}/about
  5. Impact
    Script runs, steals session or phishes credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

To PLANT the payload, the attacker must be authenticated with a Teacher or Course-Manager role on a course and submit contentDescription through the Symfony/Doctrine add or edit path (controller lines 225/460 pre-fix); the legacy save path at line 425 already sanitizes, so only the Doctrine-based save flow is affected. To BE AFFECTED, a victim needs no authentication: the /course/{id}/about route has no #[IsGranted] guard and renders description with | raw, so the stored script executes for any visitor, authenticated or anonymous. Limiting factors: the privilege requirement (teacher/course-manager) to inject, and that the flaw is confined to instances running <= 2.0.2 using the Doctrine save path; upgrading to 2.0.3 is the fix.

Impact

This is a genuine but moderate-priority stored XSS, not a drop-everything emergency. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N scores 6.4 (Medium) in the input; the GHSA advisory labels the identical vector string as 7.5 'High', which is internally inconsistent - that exact vector computes to 6.4, so the 7.5 figure appears to be a mislabel rather than a different assessment. The key risk-limiting signal is PR:L: an attacker must already hold a Teacher/Course-Manager role on a course to plant the payload, which bounds the threat to insiders or attackers who have compromised such an account. The amplifying signal is the sink: the injected content renders through the publicly reachable, unauthenticated /course/{id}/about route with Twig auto-escaping disabled (| raw), so any visitor - including unauthenticated ones - is a potential victim, and S:C reflects that the impact crosses into the visitor's browser/session. No EPSS score, no CISA KEV entry, and no SSVC automatable/technical-impact fields were supplied, so widespread automated exploitation cannot be inferred; the vuln.today decision label is 'this_month', consistent with a real but non-urgent fix. The GHSA advisory includes a confirmed unescaped payload demonstration, so exploitability is proven even though no standalone weaponized exploit tool is referenced.

Exploit ScenarioDerived

An attacker who holds (or phishes/compromises) a Teacher or Course-Manager account edits a course description and saves <img src=x onerror=...> through the Doctrine add/edit path, which stores it unsanitized. When any user - authenticated staff/student or an anonymous visitor - browses the public /course/{id}/about page, the script executes in their browser, enabling session cookie theft, credential phishing via an injected form, or actions performed in an authenticated victim's session. The GHSA advisory confirms the payload rendered unescaped (HTTP 200, no auth) at two locations, so a working proof-of-concept is demonstrated though no packaged exploit is published.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Chamilo LMS versions up to and including 2.0.2 store teacher-supplied course description content without XSS sanitization in the Doctrine-based add and edit code paths, then render it unescaped on the publicly reachable /course/{id}/about page. A user holding a Teacher or Course Manager role on a course can therefore plant a persistent script that executes in the browsers of any visitor to that course's about page - including anonymous visitors - enabling session theft, credential phishing, page defacement, or actions taken in an authenticated victim's session. The issue is not reported as actively exploited and no public exploit code was identified at time of analysis; vendor-released patch: 2.0.3, and the flaw is confined to installations using the newer Doctrine save path.

RemediationAI

Upgrade Chamilo LMS to 2.0.3, which wraps both Doctrine save-path assignments of $_POST['contentDescription'] in Security::remove_XSS(..., COURSEMANAGERLOWSECURITY); the fix is visible in commit 181687053b56f86654ac8f4ba0046fd3d97464c5 and the release tag v2.0.3, with details in advisory GHSA-jv7g-9ff9-6cc5. Where upgrading cannot be done immediately, the practical compensating control is to restrict who can hold Teacher and Course Manager roles on courses, since planting the payload requires that authenticated role, and to audit existing course descriptions for injected markup, because payloads stored before the fix persist until the content is re-saved through the patched sanitizing path or manually cleaned. Note that restricting access to the /course/{id}/about endpoint would reduce exposure but also removes a publicly intended course-information page, and because the stored value is rendered with Twig's raw filter, patching the template alone would not clean already-stored content.

Affected VersionsENISA

chamilo-lms < 2.1.0

Affected Packages

euvd chamilo_lms fix: 2.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79, improper neutralization of input during web page generation, in a PHP/Symfony/Doctrine application. In public/main/course_description/course_description_controller.php the Doctrine-backed add and edit handlers assign $_POST['contentDescription'] directly to $content (pre-fix lines 225 and 460 in the advisory's numbering, matching the commit's hunks around lines 141 and 345), whereas the legacy save path in the same file already applies Security::remove_XSS(..., COURSEMANAGERLOWSECURITY). The stored value is later output by src/CoreBundle/Resources/views/Course/about.html.twig using the Twig raw filter, which disables the template engine's auto-escaping, and the /course/{id}/about route carries no #[IsGranted] guard. The fixed commit wraps both assignments in Security::remove_XSS with the COURSEMANAGERLOWSECURITY context, restoring the sanitization that the legacy path already had. The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N reflects that injection requires a low-privileged authenticated account (teacher or course manager) while the resulting script runs in a scope change - the victim's browser session - with low confidentiality and integrity impact and no availability impact.

Know when Chamilo Lms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Planting requires teacher/course-manager rights (PR:L), payload executes in any visitor's browser (S:C, UI:N) with limited confidentiality/integrity impact and no availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Nov 18, 2026 - 20:03 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
open-source LMS, education-sector niche, far smaller footprint than Moodle
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-50187 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.

CVE-2025-50192 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex

CVE-2025-50190 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.

CVE-2021-35414 CRITICAL POC
9.8 Dec 03

Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload

CVE-2019-13082 CRITICAL POC
9.8 Jun 30

Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra

CVE-2025-50199 CRITICAL POC
9.1 Mar 02

Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p

CVE-2023-4220 MEDIUM POC
6.1 Nov 28

Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C

CVE-2025-50189 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. [CVSS 8.8 HIGH]

CVE-2025-52468 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi

CVE-2024-30616 HIGH POC
8.8 Nov 04

Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi

CVE-2023-4226 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit

CVE-2023-4225 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy