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-59540

CVE-2025-59540: Chamilo LMS Stored XSS Vulnerability

CVE-2025-59540 is a stored cross-site scripting flaw in Chamilo LMS that enables staff accounts to execute malicious JavaScript in admin browsers. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2025-59540 Overview

CVE-2025-59540 is a stored Cross-Site Scripting (XSS) vulnerability affecting Chamilo LMS, a popular open-source learning management system. The vulnerability exists in versions prior to 1.11.34 and allows a staff account to execute arbitrary JavaScript in the browser of higher-privileged admin users. The issue arises because feedback input in the exercise history page is not properly encoded before rendering, allowing malicious scripts to persist in the database and execute when viewed by administrators.

Critical Impact

A low-privileged staff user can inject persistent malicious scripts that execute in the context of administrator sessions, potentially leading to privilege escalation, session hijacking, or unauthorized administrative actions within the learning management system.

Affected Products

  • Chamilo LMS versions prior to 1.11.34
  • All installations using the vulnerable exercise history feedback functionality

Discovery Timeline

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

Technical Details for CVE-2025-59540

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) is particularly dangerous due to its persistence mechanism and potential for privilege escalation within the Chamilo LMS environment. The vulnerability requires network access and low privileges (a staff account) to exploit, combined with user interaction from an administrator viewing the malicious content. The attack targets the exercise history page where feedback is displayed without proper output encoding.

The privilege escalation potential is significant because the malicious script executes within the security context of the administrator's browser session. This means the attacker's JavaScript code has full access to the administrator's cookies, session tokens, and can perform any administrative action on their behalf. In educational environments, this could lead to unauthorized grade modifications, student data exposure, or complete system compromise.

Root Cause

The root cause of this vulnerability is improper output encoding in the exercise history feedback rendering mechanism. When staff members submit feedback through the exercise functionality, the input is stored directly in the database without adequate sanitization. Subsequently, when administrators view the exercise history page, the feedback content is rendered in the HTML response without proper encoding, causing any embedded JavaScript to execute in the administrator's browser context.

Attack Vector

The attack leverages the network-accessible nature of Chamilo LMS combined with the trust relationship between staff and administrative accounts. An attacker with staff-level credentials submits specially crafted feedback containing malicious JavaScript through the exercise functionality. When an administrator navigates to the exercise history page to review the feedback, the unsanitized script executes automatically.

This attack vector is particularly effective because administrators routinely review exercise feedback as part of their normal workflow, making user interaction highly likely. The persistent nature of stored XSS means the malicious payload remains active until the affected content is modified or removed.

Detection Methods for CVE-2025-59540

Indicators of Compromise

  • Unexpected JavaScript code or HTML tags present in exercise feedback database fields
  • Unusual administrative actions occurring without corresponding administrator logins
  • Session tokens or cookies being transmitted to external domains
  • Unexplained changes to user privileges or system configurations

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor web application firewall (WAF) logs for XSS payload patterns in POST requests to exercise-related endpoints
  • Review database content for suspicious HTML or script tags in feedback fields
  • Analyze browser console logs for JavaScript errors or unexpected script execution

Monitoring Recommendations

  • Deploy real-time log monitoring for the Chamilo LMS application server
  • Configure alerts for unusual patterns in administrative session activity
  • Implement database audit logging for changes to exercise feedback content
  • Monitor outbound network connections from client browsers accessing the LMS

How to Mitigate CVE-2025-59540

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.34 or later immediately
  • Audit existing exercise feedback content for malicious scripts
  • Review administrative session logs for signs of compromise
  • Consider temporarily restricting staff access to exercise feedback functionality until patching is complete

Patch Information

Chamilo has released version 1.11.34 which addresses this vulnerability. The patch implements proper output encoding for feedback content rendered on the exercise history page. Organizations should obtain the update from the official Chamilo GitHub releases. For additional details about this vulnerability, refer to the GitHub Security Advisory GHSA-59h4-34mx-m67m.

Workarounds

  • Implement a Web Application Firewall (WAF) with XSS filtering rules for the exercise feedback endpoints
  • Deploy Content Security Policy (CSP) headers that restrict inline script execution
  • Manually sanitize existing feedback content in the database to remove potential XSS payloads
  • Restrict network access to the administrative interface using IP allowlisting until patching is complete
  • Consider temporarily disabling the exercise feedback feature if business requirements permit
bash
# Example CSP header configuration for Apache
# Add to .htaccess or virtual host configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechChamilo

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v1.11.34
  • Vendor Resources
  • GitHub Security Advisory GHSA-59h4-34mx-m67m
  • Related CVEs
  • CVE-2026-30882: Chamilo LMS Reflected XSS Vulnerability

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

  • CVE-2025-59542: 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