Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain/compromise Teacher account
-
DeliveryImport crafted SCORM package with XSS title
-
ExploitPayload stored in c_lp_item.title
-
ExecutionStudent or admin views learning-path TOC
-
PersistScript executes in victim browser
-
ImpactHijack victim session
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 | Exploitation requires an authenticated Teacher-role account able to import a SCORM package via POST /main/lp/lp_controller.php?action=upload, and a crafted imsmanifest.xml whose <title> element carries the payload. The payload only executes when a second user (enrolled student or administrator) views the learning-path table of contents. A specific configuration dependency LIMITS mitigation rather than exploitation: the sanitizing code path (strip_tags() + Security::remove_XSS() in getListArrayToc(), learnpath.class.php line 2790) runs ONLY when the optional AI-disclosure feature is enabled; the default production state has AI disclosure disabled, so default configurations ARE vulnerable. Limiting factors: requires privileged Teacher access to inject (PR:L), requires victim interaction of opening the LP TOC (UI:R), and impact is confined to in-browser session compromise (no server-side code execution). |
| Impact | This is a medium-severity stored XSS (CWE-79) whose real-world risk is moderate and bounded by its prerequisites. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, base 5.4) shows network vector and low attack complexity, but PR:L and UI:R are the key limiters: an attacker needs an authenticated Teacher account to import the malicious SCORM package, and a victim (enrolled student or administrator) must actively view the learning-path table of contents for the payload to fire. No EPSS score, no CISA KEV entry, and no SSVC automatable/technical-impact data were supplied, so no quantitative exploitation-probability signal is available; absence of KEV/EPSS is not evidence of safety but does mean there is no indication of widespread automated exploitation. The vuln.today priority Decision label is 'this_month' (not act_now/emergency), consistent with a medium, privilege-gated stored XSS rather than a drive-by critical. Note a data discrepancy: NVD lists the score as 5.4 while the GHSA advisory states 6.5 against the identical vector string - recomputing the supplied vector yields 5.4, so the advisory's 6.5 appears to be an arithmetic inconsistency, not a different assessment. The practical risk concentrates in multi-tenant/open-enrollment deployments where lower-trust or compromised Teacher accounts can seed content viewed by many students and privileged admins (S:C reflects the cross-context impact into the victim's browser session). |
| Exploit ScenarioDerived | An authenticated Teacher imports a crafted SCORM package whose imsmanifest.xml <title> element contains a payload such as <img src=x onerror=alert(document.cookie)>; because scormItem::parse_children() stores the title unsanitized into c_lp_item.title and scorm_list.html.twig renders it with {% autoescape false %} and the |raw filter, the script is stored. When an enrolled student or an administrator later opens the learning-path table of contents, the payload executes in their browser session, enabling session hijacking. The GHSA advisory documents a verified working payload confirmed on Chamilo v2.1.0 (2026-05-29), so a public PoC reference exists; it is not verified as standalone, packaged working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting in Chamilo LMS before 1.11.40 and 2.0.3 allows an authenticated Teacher-role user to import a SCORM package whose imsmanifest.xml <title> value is saved unsanitized into c_lp_item.title and later rendered raw in the learning-path table of contents, so script executes in the browser of any enrolled student or administrator who opens it. The assessed vector requires low-privileged authentication and victim interaction, with scope change but limited confidentiality and integrity impact; default installations are exposed because the optional AI-disclosure sanitization path is disabled by default. No public exploit code or CISA KEV entry was identified at time of analysis, and fixed releases are available from the vendor.
RemediationAI
Upgrade to Chamilo LMS 2.0.3 or 1.11.40, which contain the fix that applies Security::remove_XSS() to the SCORM title in main/lp/scormItem.class.php and public/main/lp/scormItem.class.php; the corresponding commits are https://github.com/chamilo/chamilo-lms/commit/16837ff6c2db0f7345a5508791e1c23d84d9f6d0 and https://github.com/chamilo/chamilo-lms/commit/d945ecbd448ebe20fd6b815f080a3ba08687fc5f. The vendor advisory is https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-xfhv-qg8r-rc7w. If an immediate upgrade is not possible, enabling the optional AI-disclosure feature causes getListArrayToc() to apply strip_tags() and Security::remove_XSS() to the TOC title output, which blocks the stored payload on that rendering path; the trade-off is that this changes feature configuration and is not the vendor's complete fix, so patching remains required.
Affected VersionsENISA
Affected Packages
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
Chamilo LMS is a PHP learning management system, and this is CWE-79 stored cross-site scripting in its SCORM import and learning-path rendering flow. During import, scormItem::parse_children() in main/lp/scormItem.class.php and public/main/lp/scormItem.class.php reads the <title> element from imsmanifest.xml via firstChild->nodeValue without XSS sanitization; the value passes through api_utf8_decode() encoding conversion in scorm.class.php and is stored through CLpItem::setTitle() into c_lp_item.title. The sink is src/CoreBundle/Resources/views/LearnPath/scorm_list.html.twig, which starts with {% autoescape false %} and renders {{ item.title | raw }}, explicitly disabling Twig's auto-escaping. A secondary path in getListArrayToc() (learnpath.class.php line 2790) applies strip_tags() plus Security::remove_XSS() only when the optional AI-disclosure feature is enabled, so the default production state leaves stored titles unsanitized. The advisory documents reproduction via a SCORM zip uploaded to POST /main/lp/lp_controller.php?action=upload and rendering via the learning-path view. The affected product is covered by CPE cpe:2.3:a:chamilo:chamilo-lms:*:*:*:*:*:*:*:*.
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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Teacher auth to inject gives PR:L; victim must open the TOC so UI:R; stored XSS executing in a different security context gives S:C with low C/I and no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.3, main/lp/scormItem.class.php and public/main/lp/scormItem.class.php store an attacker-controlled title element from imsmanifest.xml without cross-site scripting sanitization when a teacher imports a SCORM package. The title reaches c_lp_item.title and is rendered by src/CoreBundle/Resources/views/LearnPath/scorm_list.html.twig through item.title with raw output while Twig auto-escaping is disabled; the default configuration does not apply the optional AI-disclosure sanitization path. Enrolled students or administrators who view the learning-path table of contents can execute the stored content in their browser sessions. This issue is fixed in versions 1.11.40 and 2.0.3.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Chamilo Lms
View allChamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.
Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex
Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra
Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C
Chamilo is a learning management system. [CVSS 8.8 HIGH]
Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi
Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi
Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit
Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers
EUVD-2026-129093
NVD
CVE.org
EPSS
GitHub
Exploit-DB