CVE-2025-52470 Chamilo: Stored Cross-Site Scripting (XSS) via Session Category Name
Privileged users can inject persistent JavaScript via session category names, leading to potential administrative session compromise in Chamilo LMS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-52470?
CVE-2025-52470 is a medium-severity cross-site scripting vulnerability in Chamilo Chamilo Lms, published on 2 Mar 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-52470?
It affects 1 product.
Products include Chamilo Chamilo Lms.
How do I fix CVE-2025-52470?
No fix has been published for CVE-2025-52470 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-52470 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52470 exists.
Other vulnerabilities in Chamilo Chamilo Lms
Sources
Also known as GHSA-p4m6-gwhg-x89f.