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.
bugzilla.redhat.com/show_bug.cgi?id=2064119
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074
github.com/moodle/moodle
github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1
lists.fedoraproject.org/archives/list/[email protected]/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y
nvd.nist.gov/vuln/detail/CVE-2022-0983