An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0983
- https://bugzilla.redhat.com/show_bug.cgi?id=2064119
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y/
- https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1
- https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074
- https://github.com/advisories/GHSA-h2fw-93qx-vrcq