Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryUpload malicious HTML file with embedded JavaScript
-
ExploitShare contentUrl in social post
-
ExecutionTarget admin clicks link
-
PersistJavaScript executes in trusted origin
-
ImpactSteal session token or escalate privileges
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. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) indicates moderate real-world risk: the attack requires network access (AV:N), low attack complexity (AC:L), authentication (PR:L), and user interaction (UI:P). The score of 5.1 reflects limited confidentiality and integrity impact on the vulnerable component itself, but this underrepresents the actual risk when considering the attack's privilege escalation potential and session hijacking capabilities. Exploitation requires an authenticated attacker to craft and upload a malicious HTML file, then socially engineer a victim (including potentially privileged users like administrators) to click the resulting contentUrl. No public exploit code has been identified at time of analysis. The fact that this is a stored vulnerability significantly elevates real-world risk compared to reflected XSS, as the payload persists for all subsequent viewers. The requirement for user interaction (UI:P) is the primary mitigating factor; however, within a collaborative learning platform like Chamilo LMS where users regularly share social posts, this interaction is highly probable. The vulnerability affects all versions prior to 2.0.0-RC.3 with no identified workarounds, making patching the only reliable mitigation. |
| Exploit ScenarioDerived | An authenticated attacker creates a malicious HTML file containing JavaScript that steals session cookies or performs administrative actions (e.g., creating unauthorized user accounts). The attacker uploads this file via the social post attachment API and shares the generated contentUrl with other users, such as administrators. When an administrator clicks the link to view the attachment, the JavaScript executes in their browser within the Chamilo application's origin, allowing the attacker to hijack the admin session and escalate their own account privileges or access sensitive course data. No user interaction beyond clicking the link is required for the JavaScript to execute. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
Stored cross-site scripting (XSS) in Chamilo LMS versions prior to 2.0.0-RC.3 allows authenticated users to upload malicious HTML files containing JavaScript via the social post attachment API endpoint. The uploaded files are served without sanitization, content-type restrictions, or proper content-disposition headers, causing embedded JavaScript to execute in the browser within the application's trusted origin. This enables session hijacking, account takeover, and privilege escalation attacks, particularly when an administrator views a malicious link. The vulnerability is confirmed fixed in version 2.0.0-RC.3.
RemediationAI
The vendor-released patch is available in Chamilo LMS version 2.0.0-RC.3 or later. Administrators should upgrade immediately to this version or newer to apply the fix. The patch implements proper content-type validation for uploaded files, sanitizes or encodes file contents before serving, and adds appropriate Content-Disposition headers to prevent inline execution. Upgrade instructions and release details are available at https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3. No reliable workarounds exist for earlier versions; patching is the primary remediation. In the interim, administrators may consider restricting upload functionality through access controls or temporarily disabling the social post attachment feature if operationally feasible.
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
This is a stored XSS vulnerability (CWE-79) affecting Chamilo LMS's REST API endpoint /api/social_post_attachments. The root cause stems from insufficient input validation and output encoding in the file upload and serving mechanism. When a user uploads a file through the attachment endpoint, the application generates a contentUrl to serve the file back to users. The vulnerability arises because the server fails to enforce three critical security controls: (1) content-type validation to restrict file uploads to non-executable types, (2) content sanitization or encoding of file contents before serving, and (3) a Content-Disposition: attachment HTTP response header that would force browsers to download the file rather than execute it inline. Because the malicious JavaScript executes within the application's same origin (same scheme, domain, and port), it gains access to session cookies, CSRF tokens, and other sensitive data that would normally be protected by the browser's same-origin policy. This is particularly dangerous for privilege escalation when administrators or high-privilege users view links containing the malicious payload.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, a Stored Cross-Site Scripting (XSS) vulnerability exists in the social post attachment upload functionality, where an authenticated user can upload a malicious HTML file containing JavaScript via the /api/social_post_attachments endpoint. The uploaded file is served back from the application at the generated contentUrl without sanitization, content type restrictions, or a Content-Disposition: attachment header, causing the JavaScript to execute in the browser within the application's origin. Because the payload is stored server-side and runs in the trusted origin, an attacker can perform session hijacking, account takeover, privilege escalation (if an admin views the link), and arbitrary actions on behalf of the victim. This issue has been fixed in version 2.0.0-RC.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.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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-22714
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB