CVE-2025-59540 Chamilo: Stored Cross-Site Scripting (XSS) in Chamilo LMS Exercise Feedback
A stored XSS vulnerability in Chamilo LMS allows staff users to execute arbitrary JavaScript in admin browsers via unencoded exercise feedback.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-59540?
CVE-2025-59540 is a medium-severity cross-site scripting vulnerability in Chamilo Chamilo Lms, published on 6 Mar 2026. Any signed-in user can exploit it over the network, 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.34, a stored XSS vulnerability exists in Chamilo LMS that 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 on view. This issue has been patched in version 1.11.34.
Which versions are affected by CVE-2025-59540?
It affects 1 product.
Products include Chamilo Chamilo Lms.
How do I fix CVE-2025-59540?
No fix has been published for CVE-2025-59540 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-59540 being exploited?
There is no known exploitation of CVE-2025-59540 in the wild and no public exploit code.
Other vulnerabilities in Chamilo Chamilo Lms
Sources
Also known as GHSA-59h4-34mx-m67m.