The upstream ADOdb library contained an SQL injection risk in the pg_insert_id() method. It is important to note that the core Moodle LMS was NOT affected by this vulnerability, however as a precaution, this library has been upgraded to remove the risk entirely, in case any third party code/plugins uses the vulnerable code.
Severity/Risk: | Serious |
Versions affected: | 5.0, 4.5 to 4.5.4, 4.4 to 4.4.8, 4.1 to 4.1.18 and earlier unsupported versions |
Versions fixed: | 5.0.1, 4.5.5, 4.4.9 and 4.1.19 |
Reported by: | Alex Chiou |
CVE identifier: | CVE-2025-46337 |
Changes (main): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-85375 |
Tracker issue: | MDL-85375 Upgrade ADOdb including security fix (upstream) |