All vulnerabilities

Servers and applications

CVE-2026-62983

SQL Injection in ExtraField::get_where_clause() via unescaped array filter values (<1.11.42, <2.0.3)

Severity
High 7.2
Published
4 Aug 2026
Last changed
4 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.11.42
Weakness
SQL injection (CWE-89)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-7whw-8467-78jp
Sources
Project advisories (GitHub)

Description

Chamilo lets reporting grids filter results by sending a JSON filters blob to public/main/inc/ajax/model.ajax.php. When one of those filter rules targets an extra field and its data value is a JSON array, the array is joined straight into the SQL string with implode() and never escaped. An authenticated DRH user can put SQL inside that array and have it run against the database.

The scalar version of this same code is written safely, so this is specifically the array branch that was missed. The function escapes the individual array items in a loop right below the bug, which makes it look protected at a glance, but the very first implode() that builds the string is not escaped at all.

From chamilo/chamilo-lms's security advisory.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Every version before 1.11.42

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References