Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34161: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in chamilo chamilo-lms

0
Medium
VulnerabilityCVE-2026-34161cvecve-2026-34161cwe-79
Published: Tue Apr 14 2026 (04/14/2026, 21:12:48 UTC)
Source: CVE Database V5
Vendor/Project: chamilo
Product: chamilo-lms

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:28:48 UTC

Technical Analysis

CVE-2026-34161 is a stored XSS vulnerability in chamilo-lms prior to version 2.0.0-RC.3. It arises from insufficient input neutralization 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 returns 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 victim's browser within the application's origin, enabling session hijacking, privilege escalation, and other unauthorized actions. The issue is resolved in version 2.0.0-RC.3.

Potential Impact

The vulnerability allows authenticated users to upload malicious HTML files that execute JavaScript in the context of the trusted application origin. This can lead to session hijacking, account takeover, privilege escalation (especially if an administrator views the malicious content), and arbitrary actions performed on behalf of the victim. The CVSS 4.0 score is 5.1 (medium severity), reflecting the moderate impact and the requirement for authentication and user interaction.

Mitigation Recommendations

A fix is available in chamilo-lms version 2.0.0-RC.3. Users and administrators should upgrade to this version or later to remediate the vulnerability. Since no official vendor advisory or patch link is provided, verify the upgrade availability and instructions from the official chamilo project resources. Until upgraded, restrict authenticated user permissions to limit exposure and avoid accessing untrusted uploaded attachments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/22/2026, 6:28:48 AM

Last updated: 5/10/2026, 3:24:44 PM

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses