Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-0332

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-0332
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:06 UTC · Revision 1

Source evidence

CVE-2022-0332

core-osv · Original source

Published 25 Jan 2022, 19:11 UTC

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.

osv:CVE-2022-0332
Complete source record
{
  "id": "ded43582be2c2d7bff330531cac072c0ed6c8552cdebc627a1b310ebd91e3b40",
  "url": "https://osv.dev/vulnerability/CVE-2022-0332",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-0332",
    "summary": "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.",
    "evidence": "osv:CVE-2022-0332",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-0332",
      "aliases": [
        "BIT-moodle-2022-0332",
        "CVE-2022-0332",
        "GHSA-6jhm-4vmx-mr76"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moodle/moodle",
              "type": "GIT",
              "events": [
                {
                  "introduced": "94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"
                },
                {
                  "fixed": "a59bec2a6f3c093ebe3b8eb0316c07188a4a339e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.11.0"
                      },
                      {
                        "fixed": "3.11.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.11.4",
            "v3.11.3",
            "v3.11.1",
            "v3.11.2",
            "v3.11.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0332.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.916762750Z",
      "provider": "osv",
      "references": [
        "https://moodle.org/mod/forum/discuss.php?d=431099",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0332.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-0332",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2043661"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "fedora",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "moodle 3.11.5"
                  },
                  {
                    "last_affected": "moodle 3.11.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0332.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-0332",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 503453,
  "published_at": "2022-01-25T19:11:10+00:00"
}