Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-30599

A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.

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

Source evidence

CVE-2022-30599

core-osv · Original source

Published 18 May 2022, 17:09 UTC

A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.

osv:CVE-2022-30599
Complete source record
{
  "id": "298bbfe06b1d542b98cb1f228879eef8623f9e1dbefaa4fc01262b8a4f426041",
  "url": "https://osv.dev/vulnerability/CVE-2022-30599",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-30599",
    "summary": "A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.",
    "evidence": "osv:CVE-2022-30599",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-30599",
      "aliases": [
        "BIT-moodle-2022-30599",
        "CVE-2022-30599",
        "GHSA-69c3-5xxf-58q2"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moodle/moodle",
              "type": "GIT",
              "events": [
                {
                  "introduced": "500c131eb49771e36f68d151dfa37fef5a9bc2df"
                },
                {
                  "fixed": "a63efe42d15236e08f10d9158eef5d20f92222db"
                },
                {
                  "introduced": "ec58cefefb2722f61f77c9a2b6a12d40a8c078a0"
                },
                {
                  "fixed": "3c33177dd21e3a46e8825b2df3cb3476936b68ee"
                },
                {
                  "introduced": "94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"
                },
                {
                  "fixed": "4d48741ed7fe34d9207f45b9efd5a90a71e1ff2e"
                },
                {
                  "introduced": "8b359ad7a63cf219110bca80552fe3d4ea2a635d"
                },
                {
                  "last_affected": "8b359ad7a63cf219110bca80552fe3d4ea2a635d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.9"
                      },
                      {
                        "fixed": "3.9.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.10"
                      },
                      {
                        "fixed": "3.10.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.11"
                      },
                      {
                        "fixed": "3.11.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-NA"
                      },
                      {
                        "last_affected": "4.0.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0-NA",
            "v4.0.0",
            "v3.11.6",
            "v3.10.10",
            "v3.9.13",
            "v3.11.5",
            "v3.10.9",
            "v3.9.12",
            "v3.11.4",
            "v3.10.8",
            "v3.9.11",
            "v3.11.3",
            "v3.9.10",
            "v3.10.7",
            "v3.11.1",
            "v3.11.2",
            "v3.10.6",
            "v3.9.9",
            "v3.10.5",
            "v3.9.8",
            "v3.11.0",
            "v3.10.4",
            "v3.9.7",
            "v3.10.3",
            "v3.9.6",
            "v3.10.2",
            "v3.9.5",
            "v3.10.1",
            "v3.9.4",
            "v3.9.3",
            "v3.10.0",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30599.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.190775740Z",
      "provider": "osv",
      "references": [
        "https://moodle.org/mod/forum/discuss.php?d=434581",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30599.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-30599",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2083610"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "fedora",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "3.9.13"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "VersionTextExtraction"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30599.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-30599",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 492994,
  "published_at": "2022-05-18T17:09:01+00:00"
}