{"id":"CVE-2026-30881","summary":"Chamilo LMS: SQL Injection in the statistics AJAX endpoint","details":"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.","aliases":["GHSA-5ggx-x2cv-4h44"],"modified":"2026-08-12T03:51:24.282342007Z","published":"2026-03-16T19:19:59.782Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30881.json"},"references":[{"type":"WEB","url":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30881.json"},{"type":"ADVISORY","url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30881"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/chamilo/chamilo-lms","events":[{"introduced":"0"},{"fixed":"7347c2c492db77325423983d8f09be744d969f97"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.11.36"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*"}}],"versions":["v1.11.32","v1.11.30","v1.11.30-rc.1","v1.11.28","v1.11.26","v1.11.26-rc.1","v1.11.24","v1.11.22","v1.11.22-beta.2","v1.11.22-beta.1","v1.11.20-beta.1","v1.11.20","v1.11.18","v1.11.14","v1.11.14-beta.1","v1.11.12","v1.11.10","v1.11.6","v1.11.6-alpha.1","v1.9.8","CHAMILO_1_9_6_STABLE","CHAMILO_1_9_6_RC_2","CHAMILO_1_9_6_RC_1","CHAMILO_1_9_4_STABLE","CHAMILO_1_9_4_RC_1","CHAMILO_1_9_4_ALPHA_1","CHAMILO_1_9_2_STABLE_QUARTER","CHAMILO_1_9_2_STABLE","CHAMILO_1_9_0_STABLE_3","CHAMILO_1_9_0_STABLE_2","CHAMILO_1_9_0_RC_1","CHAMILO_1_8_8_4_STABLE","CHAMILO_1_9_0_ALPHA_4","CHAMILO_1_9_0_ALPHA_2","CHAMILO_1_9_0_ALPHA_1","CHAMILO_1_9_0_PRE_ALPHA","CHAMILO_1_8_8.3_STABLE_4","CHAMILO_1_8_8_2_STABLE_2","CHAMILO_1_8_8_2_STABLE","CHAMILO_1_8_8_2_RC_1","CHAMILO_1_8_8_BETA_2","CHAMILO_1_8_8_BETA_1","CHAMILO_1_8_8_ALPHA","CHAMILO_1_8_7_STABLE_BIS","CHAMILO_1_8_7_STABLE","CHAMILO_1_8_7_RC2","CHAMILO_1_8_7_RC_1","CHAMILO_1_8_7_ALPHA_2","CHAMILO_1_8_7_ALPHA_1","v1.8.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30881.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}