CWE
89
Advisory Published
CVE Published
Updated

CVE-2022-0332: SQL Injection

First published: Fri Jan 21 2022(Updated: )

A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQL injection risk was identified in the h5p activity web service responsible for fetching user attempt data.

Credit: patrick@puiterwijk.org

Affected SoftwareAffected VersionHow to fix
redhat/moodle<3.11.5
3.11.5
Moodle>=3.11.0<3.11.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-0332?

    CVE-2022-0332 has been classified as a high-severity SQL injection vulnerability.

  • What versions of Moodle are affected by CVE-2022-0332?

    CVE-2022-0332 affects Moodle versions 3.11 to 3.11.4.

  • How do I fix CVE-2022-0332?

    To fix CVE-2022-0332, upgrade Moodle to version 3.11.5 or later.

  • What kind of vulnerability is CVE-2022-0332?

    CVE-2022-0332 is an SQL injection vulnerability in Moodle's h5p activity web service.

  • What impact does CVE-2022-0332 have on users?

    CVE-2022-0332 allows an attacker to execute arbitrary SQL commands, possibly exposing sensitive user data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203