What’s Vulnerable › Vulnerabilities
CVE-2026-30881: Chamilo LMS: SQL Injection in the statistics AJAX endpoint
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-16 · updated 2026-06-17
- Weakness: CWE-89
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
- chamilo-lms: before 1.11.36 — fixed in 1.11.36
How to fix
Upgrade to a fixed version: chamilo-lms 1.11.36. Check the vendor advisory for mitigations.
References
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44
Get alerted when CVE-2026-30881 or the next vulnerability affects your stack