CVE-2026-34161: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in chamilo chamilo-lms
Chamilo LMS versions prior to 2. 0. 0-RC. 3 contain a stored Cross-Site Scripting (XSS) vulnerability in the social post attachment upload feature. Authenticated users can upload malicious HTML files with embedded JavaScript via the /api/social_post_attachments endpoint. The application serves these files without proper sanitization, content type restrictions, or forcing download headers, allowing the JavaScript to execute in the context of the trusted application origin. This can lead to session hijacking, account takeover, privilege escalation, and unauthorized actions if an administrator or other users access the malicious content. The vulnerability has been fixed in version 2. 0. 0-RC.
AI Analysis
Technical Summary
Chamilo LMS before version 2.0.0-RC.3 is affected by a stored XSS vulnerability (CWE-79) in the social post attachment upload functionality. An authenticated attacker can upload a malicious HTML file containing JavaScript via the /api/social_post_attachments endpoint. The application serves the uploaded file at a generated contentUrl without sanitizing the content, enforcing content type restrictions, or using a Content-Disposition: attachment header. This allows the embedded JavaScript to execute in the browser within the application's origin, enabling attacks such as session hijacking, account takeover, privilege escalation, and arbitrary actions on behalf of victims. The issue is resolved in version 2.0.0-RC.3.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary JavaScript in the context of the vulnerable Chamilo LMS application. This can lead to session hijacking, account takeover, privilege escalation (notably if an administrator views the malicious content), and unauthorized actions performed on behalf of other users. The vulnerability affects versions prior to 2.0.0-RC.3. No known exploits in the wild have been reported as of the published date.
Mitigation Recommendations
Upgrade Chamilo LMS to version 2.0.0-RC.3 or later, where this vulnerability has been fixed. Since no official patch or temporary fix details are provided beyond the version update, applying this version upgrade is the recommended remediation. There is no indication that the vulnerability is mitigated by configuration changes or other workarounds.
CVE-2026-34161: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in chamilo chamilo-lms
Description
Chamilo LMS versions prior to 2. 0. 0-RC. 3 contain a stored Cross-Site Scripting (XSS) vulnerability in the social post attachment upload feature. Authenticated users can upload malicious HTML files with embedded JavaScript via the /api/social_post_attachments endpoint. The application serves these files without proper sanitization, content type restrictions, or forcing download headers, allowing the JavaScript to execute in the context of the trusted application origin. This can lead to session hijacking, account takeover, privilege escalation, and unauthorized actions if an administrator or other users access the malicious content. The vulnerability has been fixed in version 2. 0. 0-RC.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Chamilo LMS before version 2.0.0-RC.3 is affected by a stored XSS vulnerability (CWE-79) in the social post attachment upload functionality. An authenticated attacker can upload a malicious HTML file containing JavaScript via the /api/social_post_attachments endpoint. The application serves the uploaded file at a generated contentUrl without sanitizing the content, enforcing content type restrictions, or using a Content-Disposition: attachment header. This allows the embedded JavaScript to execute in the browser within the application's origin, enabling attacks such as session hijacking, account takeover, privilege escalation, and arbitrary actions on behalf of victims. The issue is resolved in version 2.0.0-RC.3.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary JavaScript in the context of the vulnerable Chamilo LMS application. This can lead to session hijacking, account takeover, privilege escalation (notably if an administrator views the malicious content), and unauthorized actions performed on behalf of other users. The vulnerability affects versions prior to 2.0.0-RC.3. No known exploits in the wild have been reported as of the published date.
Mitigation Recommendations
Upgrade Chamilo LMS to version 2.0.0-RC.3 or later, where this vulnerability has been fixed. Since no official patch or temporary fix details are provided beyond the version update, applying this version upgrade is the recommended remediation. There is no indication that the vulnerability is mitigated by configuration changes or other workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-25T20:12:04.197Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69deaedd82d89c981f01938a
Added to database: 4/14/2026, 9:17:17 PM
Last enriched: 4/14/2026, 9:32:06 PM
Last updated: 4/14/2026, 10:26:04 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.