CVE-2025-52470: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in chamilo chamilo-lms
Chamilo is a learning management system. Prior to version 1.11.30, a stored cross-site scripting (XSS) vulnerability exists in the session_category_add.php script. The vulnerability is caused by improper sanitization of the Category Name field, allowing privileged users to inject persistent JavaScript payloads. The injected script is later executed when accessing add_many_sessions_to_category.php, potentially compromising administrative sessions. This issue has been patched in version 1.11.30.
AI Analysis
Technical Summary
CVE-2025-52470 is a stored cross-site scripting (XSS) vulnerability identified in the Chamilo Learning Management System (LMS), specifically affecting versions prior to 1.11.30. The vulnerability exists in the session_category_add.php script due to improper neutralization of input during web page generation, classified under CWE-79. Privileged users can exploit this by injecting malicious JavaScript code into the Category Name field, which is not properly sanitized before being stored. This persistent script is then executed when an administrator or user with sufficient privileges accesses the add_many_sessions_to_category.php page, potentially allowing the attacker to hijack administrative sessions or perform unauthorized actions within the LMS environment. The vulnerability requires the attacker to have high privileges (e.g., a user with rights to add categories) and some user interaction to trigger the payload execution. The CVSS v3.1 base score is 4.8 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, and user interaction needed, with impacts on confidentiality and integrity but no availability impact. The issue has been addressed and patched in Chamilo LMS version 1.11.30. No known exploits have been reported in the wild to date. This vulnerability highlights the importance of proper input validation and output encoding in web applications, especially those handling privileged user input and administrative functions.
Potential Impact
The primary impact of CVE-2025-52470 is the potential compromise of administrative sessions within Chamilo LMS installations running vulnerable versions. Successful exploitation can lead to unauthorized access to sensitive administrative functions, data leakage, and manipulation of LMS content or user data. This can undermine the confidentiality and integrity of the learning management environment, potentially affecting course management, user records, and institutional data. While the vulnerability does not affect availability, the breach of administrative privileges can facilitate further attacks or unauthorized changes. Organizations relying on Chamilo LMS for education or training may face reputational damage, compliance issues, and operational disruptions if exploited. The requirement for high privileges and user interaction limits the attack surface but does not eliminate risk, especially in environments with many privileged users or insufficient access controls.
Mitigation Recommendations
To mitigate CVE-2025-52470, organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the vulnerability is patched. In addition, implement strict input validation and output encoding on all user-supplied data fields, especially those accessible by privileged users. Restrict the number of users with high privileges to minimize the risk of malicious input injection. Employ Content Security Policy (CSP) headers to reduce the impact of potential XSS payloads by restricting script execution sources. Regularly audit and monitor LMS logs for unusual activity related to category management or session handling. Conduct security awareness training for privileged users to recognize and avoid unsafe practices. Finally, consider deploying web application firewalls (WAFs) with rules tuned to detect and block XSS attack patterns targeting the LMS.
Affected Countries
United States, Germany, France, Brazil, India, United Kingdom, Canada, Australia, Spain, Italy
CVE-2025-52470: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in chamilo chamilo-lms
Description
Chamilo is a learning management system. Prior to version 1.11.30, a stored cross-site scripting (XSS) vulnerability exists in the session_category_add.php script. The vulnerability is caused by improper sanitization of the Category Name field, allowing privileged users to inject persistent JavaScript payloads. The injected script is later executed when accessing add_many_sessions_to_category.php, potentially compromising administrative sessions. This issue has been patched in version 1.11.30.
AI-Powered Analysis
Technical Analysis
CVE-2025-52470 is a stored cross-site scripting (XSS) vulnerability identified in the Chamilo Learning Management System (LMS), specifically affecting versions prior to 1.11.30. The vulnerability exists in the session_category_add.php script due to improper neutralization of input during web page generation, classified under CWE-79. Privileged users can exploit this by injecting malicious JavaScript code into the Category Name field, which is not properly sanitized before being stored. This persistent script is then executed when an administrator or user with sufficient privileges accesses the add_many_sessions_to_category.php page, potentially allowing the attacker to hijack administrative sessions or perform unauthorized actions within the LMS environment. The vulnerability requires the attacker to have high privileges (e.g., a user with rights to add categories) and some user interaction to trigger the payload execution. The CVSS v3.1 base score is 4.8 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, and user interaction needed, with impacts on confidentiality and integrity but no availability impact. The issue has been addressed and patched in Chamilo LMS version 1.11.30. No known exploits have been reported in the wild to date. This vulnerability highlights the importance of proper input validation and output encoding in web applications, especially those handling privileged user input and administrative functions.
Potential Impact
The primary impact of CVE-2025-52470 is the potential compromise of administrative sessions within Chamilo LMS installations running vulnerable versions. Successful exploitation can lead to unauthorized access to sensitive administrative functions, data leakage, and manipulation of LMS content or user data. This can undermine the confidentiality and integrity of the learning management environment, potentially affecting course management, user records, and institutional data. While the vulnerability does not affect availability, the breach of administrative privileges can facilitate further attacks or unauthorized changes. Organizations relying on Chamilo LMS for education or training may face reputational damage, compliance issues, and operational disruptions if exploited. The requirement for high privileges and user interaction limits the attack surface but does not eliminate risk, especially in environments with many privileged users or insufficient access controls.
Mitigation Recommendations
To mitigate CVE-2025-52470, organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the vulnerability is patched. In addition, implement strict input validation and output encoding on all user-supplied data fields, especially those accessible by privileged users. Restrict the number of users with high privileges to minimize the risk of malicious input injection. Employ Content Security Policy (CSP) headers to reduce the impact of potential XSS payloads by restricting script execution sources. Regularly audit and monitor LMS logs for unusual activity related to category management or session handling. Conduct security awareness training for privileged users to recognize and avoid unsafe practices. Finally, consider deploying web application firewalls (WAFs) with rules tuned to detect and block XSS attack patterns targeting the LMS.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-06-17T02:28:39.716Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69a5b69f32ffcdb8a2520655
Added to database: 3/2/2026, 4:11:11 PM
Last enriched: 3/2/2026, 4:27:56 PM
Last updated: 3/2/2026, 11:07:55 PM
Views: 8
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.
Related Threats
CVE-2026-2583: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in creativethemeshq Blocksy
MediumCVE-2026-3338: CWE-347 (Improper Verification of Cryptographic Signature) in AWS AWS-LC
HighCVE-2026-3337: CWE-208 (Observable Timing Discrepancy) in AWS AWS-LC
MediumCVE-2026-3336: CWE-295 (Improper Certificate Validation) in AWS AWS-LC
HighCVE-2026-2256: CWE-94 Improper Control of Generation of Code ('Code Injection') in ModelScope ms-agent
UnknownActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing 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.