{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.5.0"
              },
              {
                "last_affected": "3.5.7"
              },
              {
                "introduced": "3.6.0"
              },
              {
                "last_affected": "3.6.5"
              },
              {
                "introduced": "3.7.0"
              },
              {
                "last_affected": "3.7.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "46574904afd39578fa4146bf1fc5c401ac680aa6"
            },
            {
              "last_affected": "5725188035223fe8d8cf1c4a7c1af361a43ca6b6"
            },
            {
              "introduced": "cb628a9a08933c2a9f1eae2f3be70ea5d343b419"
            },
            {
              "last_affected": "c88d732e399b816b69010c2c6ee7deb2da268681"
            },
            {
              "introduced": "89457b26d192c06325bb6782b85d1025dafbefe9"
            },
            {
              "last_affected": "b198428e41b0f2fafe4bb0e6db6e53f5b9eda212"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A vulnerability was found in Moodle affecting 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions, where users with the capability to create courses were assigned as a teacher in those courses, regardless of whether they had the capability to be automatically assigned that role.",
  "id": "CVE-2019-14828",
  "modified": "2026-03-13T21:57:39.688590393Z",
  "published": "2021-03-19T21:15:11.870Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://moodle.org/mod/forum/discuss.php?d=391031"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}