The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-59542

CVE-2025-59542: Chamilo LMS Stored XSS Vulnerability

CVE-2025-59542 is a stored cross-site scripting flaw in Chamilo LMS that enables attackers to execute malicious JavaScript and steal session tokens. This article covers the technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2025-59542 Overview

CVE-2025-59542 is a stored Cross-Site Scripting (XSS) vulnerability affecting Chamilo, an open-source learning management system. Prior to version 1.11.34, the course learning path Settings field lacks proper input sanitization, allowing attackers with low-privileged accounts (such as trainers) to inject malicious JavaScript code. When other users, including administrators, view the affected course information page, the injected script executes in their browser context.

Critical Impact

This stored XSS vulnerability enables attackers to exfiltrate sensitive session cookies and tokens, potentially leading to complete account takeover (ATO) of higher-privileged users including administrators.

Affected Products

  • Chamilo LMS versions prior to 1.11.34
  • All installations with user-editable learning path Settings fields
  • Multi-tenant Chamilo deployments where trainers can modify course content

Discovery Timeline

  • 2026-03-06 - CVE-2025-59542 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2025-59542

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The flaw exists in how Chamilo LMS processes and renders user-supplied content in the learning path Settings field. When a trainer or other low-privileged user with course editing capabilities modifies the Settings field, the application fails to properly sanitize the input before storing it in the database and subsequently rendering it to other users.

The stored nature of this XSS vulnerability makes it particularly dangerous, as the malicious payload persists in the database and executes every time a user accesses the affected course information page. This differs from reflected XSS attacks that require tricking users into clicking malicious links. The vulnerability can be exploited remotely over the network and requires only low privileges (e.g., trainer role) and minimal user interaction (victim must view the affected page).

Root Cause

The root cause of CVE-2025-59542 is insufficient input validation and output encoding in the Chamilo LMS course management module. The learning path Settings field accepts arbitrary HTML and JavaScript content without proper sanitization. When this content is retrieved from the database and rendered in the browser, it executes as part of the trusted page context, bypassing same-origin policy protections.

Attack Vector

The attack vector is network-based, requiring an authenticated attacker with at least trainer-level privileges. The attacker injects malicious JavaScript code into the course learning path Settings field through the normal course editing interface. When any user with access to the course views the information page, the malicious script executes with that user's session context.

A successful exploitation allows the attacker to steal session cookies, capture authentication tokens, perform actions on behalf of the victim user, modify page content, redirect users to malicious sites, or leverage administrator access for further compromise of the Chamilo installation. The scope is changed (S:C in the CVSS vector), meaning the vulnerability can affect resources beyond its security scope.

Detection Methods for CVE-2025-59542

Indicators of Compromise

  • Unusual JavaScript code or HTML tags present in course learning path Settings fields in the database
  • Session cookies being transmitted to external domains
  • Unexpected administrator account activities or privilege changes
  • Browser console errors related to cross-origin requests from the Chamilo domain

Detection Strategies

  • Implement database auditing to monitor for suspicious content patterns in the lp_settings or related tables
  • Deploy web application firewalls (WAF) with XSS detection rules to identify injection attempts
  • Enable Content Security Policy (CSP) reporting to detect inline script execution violations
  • Monitor server access logs for unusual POST requests to course editing endpoints containing script tags

Monitoring Recommendations

  • Configure browser security headers and CSP to restrict script sources and report violations
  • Implement real-time alerting for database changes to course configuration fields
  • Deploy SentinelOne Singularity XDR for comprehensive endpoint monitoring and threat detection
  • Review user activity logs for trainers or low-privileged accounts making bulk course modifications

How to Mitigate CVE-2025-59542

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.34 or later immediately
  • Audit existing course learning path Settings fields for any injected malicious content
  • Review administrator account sessions and force re-authentication for all privileged users
  • Implement Content Security Policy headers to mitigate impact of any undetected payloads

Patch Information

Chamilo has released version 1.11.34 which addresses this stored XSS vulnerability. The patch implements proper input sanitization and output encoding for the learning path Settings field. Organizations should prioritize upgrading to this version to eliminate the vulnerability. For detailed release information, see the GitHub Release v1.11.34. Additional vulnerability details are available in the GitHub Security Advisory GHSA-pxrh-3rcp-h7m6.

Workarounds

  • Temporarily restrict trainer and other low-privileged user access to course editing functionality until the patch can be applied
  • Implement Web Application Firewall (WAF) rules to block common XSS payloads in form submissions to course editing endpoints
  • Deploy strict Content Security Policy headers with script-src 'self' to prevent inline script execution
  • Enable HTTP-only and Secure flags on all session cookies to limit the impact of cookie theft
bash
# Example Apache configuration to add security headers
<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline';"
    Header set X-Content-Type-Options "nosniff"
    Header set X-XSS-Protection "1; mode=block"
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechChamilo

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v1.11.34
  • Vendor Resources
  • GitHub Security Advisory GHSA-pxrh-3rcp-h7m6
  • Related CVEs
  • CVE-2026-30882: Chamilo LMS Reflected XSS Vulnerability

  • CVE-2025-59543: Chamilo LMS Stored XSS Vulnerability

  • CVE-2025-59540: Chamilo LMS Stored XSS Vulnerability

  • CVE-2025-55289: Chamilo LMS Stored XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English