Vulnerability · Published Mar 16, 2026 · Assigned by GitHub_M
CVE-2026-30881Chamilo LMS: SQL Injection in the statistics AJAX endpoint
High 8.8
In plain English
A high-severity SQL injection in chamilo-lms from chamilo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official description
Chamilo LMS is a learning management system. Version 1.11.34 and prior contains a SQL Injection vulnerability in the statistics AJAX endpoint. The parameters date_start and date_end from $_REQUEST are embedded directly into a raw SQL string without proper sanitization. Although Database::escape_string() is called downstream, its output is immediately neutralized by str_replace("\'", "'", ...), which restores any injected single quotes — effectively bypassing the escaping mechanism entirely. This allows an authenticated attacker to inject arbitrary SQL statements into the database query, enabling blind time-based and conditional data extraction. This issue has been patched in version 1.11.36.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| chamilo | chamilo-lms | < 1.11.36 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44 x_refsource_CONFIRM
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36 x_refsource_MISC