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
Chamilo LMS, a widely used open-source learning management system, contains a stored cross-site scripting (XSS) vulnerability identified as CVE-2025-52470. This vulnerability exists in versions prior to 1.11.30 within the session_category_add.php script, where the Category Name input field is not properly sanitized. Privileged users can exploit this flaw by injecting malicious JavaScript code that is persistently stored. When an administrator or authorized user accesses the add_many_sessions_to_category.php page, the injected script executes within their browser context. This can lead to session hijacking, unauthorized actions, or theft of sensitive information. The vulnerability requires the attacker to have high privileges (PR:H) and some user interaction (UI:R), but it does not impact system availability. The CVSS v3.1 base score is 4.8 (medium severity), reflecting limited confidentiality and integrity impact without availability loss. The issue has been addressed and patched in Chamilo LMS version 1.11.30. No public exploits have been reported to date, but the vulnerability poses a risk in environments where multiple administrators or privileged users manage LMS content.
Potential Impact
The primary impact of this vulnerability is the potential compromise of administrative sessions through persistent XSS attacks. Attackers with privileged access can inject malicious scripts that execute in the context of other administrators, potentially leading to session hijacking, unauthorized changes to LMS content or settings, and exposure of sensitive data. While availability is not affected, the integrity and confidentiality of the LMS environment are at risk. Organizations relying on Chamilo LMS for educational or training purposes may face disruption of trust, data leakage, or unauthorized administrative control. The risk is heightened in environments with multiple administrators or where privilege separation is weak. Although no known exploits exist currently, the vulnerability could be leveraged in targeted attacks against educational institutions or organizations using Chamilo LMS globally.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the issue is patched. In addition, implement strict input validation and output encoding on all user-supplied data, especially fields accessible by privileged users. Limit the number of users with high privileges to reduce the attack surface. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Regularly audit LMS user roles and permissions to ensure least privilege principles are enforced. Monitor LMS logs for unusual activity related to category management pages. Consider deploying web application firewalls (WAFs) with rules to detect and block XSS payloads targeting Chamilo LMS endpoints. Finally, educate administrators about the risks of XSS and safe handling of input fields.
Affected Countries
United States, Brazil, France, Spain, Germany, Argentina, Colombia, Mexico, Italy, Portugal
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
Machine-generated threat intelligence
Technical Analysis
Chamilo LMS, a widely used open-source learning management system, contains a stored cross-site scripting (XSS) vulnerability identified as CVE-2025-52470. This vulnerability exists in versions prior to 1.11.30 within the session_category_add.php script, where the Category Name input field is not properly sanitized. Privileged users can exploit this flaw by injecting malicious JavaScript code that is persistently stored. When an administrator or authorized user accesses the add_many_sessions_to_category.php page, the injected script executes within their browser context. This can lead to session hijacking, unauthorized actions, or theft of sensitive information. The vulnerability requires the attacker to have high privileges (PR:H) and some user interaction (UI:R), but it does not impact system availability. The CVSS v3.1 base score is 4.8 (medium severity), reflecting limited confidentiality and integrity impact without availability loss. The issue has been addressed and patched in Chamilo LMS version 1.11.30. No public exploits have been reported to date, but the vulnerability poses a risk in environments where multiple administrators or privileged users manage LMS content.
Potential Impact
The primary impact of this vulnerability is the potential compromise of administrative sessions through persistent XSS attacks. Attackers with privileged access can inject malicious scripts that execute in the context of other administrators, potentially leading to session hijacking, unauthorized changes to LMS content or settings, and exposure of sensitive data. While availability is not affected, the integrity and confidentiality of the LMS environment are at risk. Organizations relying on Chamilo LMS for educational or training purposes may face disruption of trust, data leakage, or unauthorized administrative control. The risk is heightened in environments with multiple administrators or where privilege separation is weak. Although no known exploits exist currently, the vulnerability could be leveraged in targeted attacks against educational institutions or organizations using Chamilo LMS globally.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the issue is patched. In addition, implement strict input validation and output encoding on all user-supplied data, especially fields accessible by privileged users. Limit the number of users with high privileges to reduce the attack surface. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Regularly audit LMS user roles and permissions to ensure least privilege principles are enforced. Monitor LMS logs for unusual activity related to category management pages. Consider deploying web application firewalls (WAFs) with rules to detect and block XSS payloads targeting Chamilo LMS endpoints. Finally, educate administrators about the risks of XSS and safe handling of input fields.
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/9/2026, 5:18:04 PM
Last updated: 4/15/2026, 11:38:28 PM
Views: 50
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.