{"id":"CVE-2026-30881","published":"2026-03-16T19:19:59Z","modified":"2026-03-16T20:22:42Z","title":"Chamilo LMS: SQL Injection in the statistics AJAX endpoint","vendor":"chamilo","product":"chamilo-lms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.39321,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.86},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"chamilo","affectedVersions":[{"vendor":"chamilo","product":"chamilo-lms","versions":["< 1.11.36"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-16T20:16:05.528581Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-12500","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-chamilo-lms-cve-2026-30881","children":[{"from":"CVE-2026-30881","to":"CVE-2026-33714","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Version 2.0.0-RC.2 contains a SQL Injection vulnerability in the statistics AJAX endpoint, which is an incomplete fix for CVE-2026-30881.","from":"CVE.org","in":"CVE-2026-33714"},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + CWE + description similarity"}]}]}}