CVE-2026-30881 Details
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.
A SQL injection vulnerability has been identified in Chamilo LMS versions through 1.11.34, specifically within the statistics AJAX endpoint. The vulnerability arises because the 'date_start' and 'date_end' parameters from the request are directly inserted into a SQL query without adequate sanitization. Although there is a call to 'Database::escape_string()' to escape strings, this is immediately undone by a 'str_replace()' function that restores any injected single quotes, effectively bypassing the escaping. This flaw allows authenticated attackers to inject arbitrary SQL commands, facilitating blind time-based and conditional data extraction from the database.
Users are advised to update Chamilo LMS to version 1.11.36, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36 | [email protected] | ProductRelease Notes |
| https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chamilo chamilo lms | < 1.11.36 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 17, 2026 | Initial Analysis | [email protected] |
| Mar 16, 2026 | New CVE Received | [email protected] |