Skip to main content

Chamilo Lms EUVDEUVD-2026-22714

| CVE-2026-34161 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-14 GitHub_M
5.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Upload malicious HTML file with embedded JavaScript
  3. Exploit
    Share contentUrl in social post
  4. Execution
    Target admin clicks link
  5. Persist
    JavaScript executes in trusted origin
  6. Impact
    Steal 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.

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

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

Alert me

AnalysisAIv1 – 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

chamilo-lms < 2.0.0-RC.3

Affected Packages

euvd chamilo_lms fix: 2.0.0-RC.3

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

Vendor (GitHub_M) PRIMARY 5.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch released
Apr 23, 2026 - 14:57 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
2.0.0-RC.3
CVSS changed
Apr 14, 2026 - 21:22 NVD
5.1 (MEDIUM)
CVE Published
Apr 14, 2026 - 21:12 nvd
MEDIUM 5.1

DescriptionCVE.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

EPSS Score
0.0%
Top 86% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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