Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-40315 BIT-moodle-2022-40315EUVD-2022-7134GHSA-mqw9-3cjm-xwp3

Moodle Minor SQL injection risk in admin user browsing

Published Sep 30, 2022 · Updated May 20, 2025 · Assigned by fedora

Description

A limited SQL injection risk was identified in the "browse list of users" site administration page.

Affected products

VendorProductAffectedFixed
— moodle 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 3.9, < 3.9.17 3.9.17 GHSA-mqw9-3cjm-xwp3
Packagist moodle/moodle >= 3.11, < 3.11.10 3.11.10 GHSA-mqw9-3cjm-xwp3
Packagist moodle/moodle >= 4.0, < 4.0.4 4.0.4 GHSA-mqw9-3cjm-xwp3

References