{"id":"CVE-2026-30881","state":"PUBLISHED","title":"Chamilo LMS: SQL Injection in the statistics AJAX endpoint","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.","publishedAt":"2026-03-16T19:19:59.782Z","updatedAt":"2026-03-16T20:22:42.641Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["chamilo chamilo-lms"],"affected":[{"vendor":"chamilo","product":"chamilo-lms","versions":[{"version":"< 1.11.36","status":"affected"}]}],"references":["https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44","https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/30xxx/CVE-2026-30881.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-30881","state":"PUBLISHED","datePublished":"2026-03-16T19:19:59.782Z","dateUpdated":"2026-03-16T20:22:42.641Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-06T00:04:56.699Z"},"containers":{"cna":{"title":"Chamilo LMS: SQL Injection in the statistics AJAX endpoint","descriptions":[{"lang":"en","value":"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":[{"vendor":"chamilo","product":"chamilo-lms","versions":[{"version":"< 1.11.36","status":"affected"}]}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44","name":"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","name":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-16T19:19:59.782Z"},"source":{"advisory":"GHSA-5ggx-x2cv-4h44","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-30881","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-03-16T20:16:05.528581Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-16T20:22:42.641Z"}}]}}}