{
  "published": "2026-11-05T13:51:49Z",
  "modified": "2026-11-12T09:13:10Z",
  "schema_version": "1.7.5",
  "id": "CGA-62pv-hc89-8rpr",
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [
    "CVE-2026-119554",
    "GHSA-53qh-jc6r-4vvr"
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://git.moodle.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://abraxaslabs.tech/research/moodle-enrol-database-sqli"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119554.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119554"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/moodle-through-5.3.0-5.2.4-5.1.8-5.0.11-and-4.5.15-sql-injection-via-enrol-database-course-idnumber"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/moodle/moodle"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L527-L528"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L918-L926"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L971-L979"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Chainguard",
        "name": "moodle",
        "purl": "pkg:apk/chainguard/moodle?arch=aarch64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.3.1-r0"
            }
          ]
        }
      ],
      "database_specific": {
        "chainguard": {
          "applies_to_subpackages": false
        }
      },
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "moodle",
            "component_version": "5.3.0-r2",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/moodle@5.3.0-r2",
            "latest_event_status": "fixed",
            "latest_event_timestamp": "2026-11-12T09:13:09Z"
          }
        ]
      }
    }
  ]
}
