# CVE-2026-30881: Chamilo LMS: SQL Injection in the statistics AJAX endpoint

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-03-16T19:19:59.782Z
- Modified: 2026-06-17T10:33:05.087Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- chamilo chamilo-lms: < 1.11.36
- chamilo chamilo_lms: before 1.11.36

## References

- <https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44> (vendor-advisory)
- <https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36> (product, release-notes)

## Sources

- CVE List: [CVE-2026-30881](https://www.cve.org/CVERecord?id=CVE-2026-30881), CVE Terms of Use, modified 2026-03-16
- NVD: [CVE-2026-30881](https://nvd.nist.gov/vuln/detail/CVE-2026-30881), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30881 · Whole record: https://cve.day/CVE-2026-30881.json · Rebuilt by cve.day 2026-11-25T22:59:16.027Z
