{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.5.7"
              },
              {
                "introduced": "3.6.0"
              },
              {
                "fixed": "3.6.5"
              },
              {
                "introduced": "3.7.0"
              },
              {
                "fixed": "3.7.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5725188035223fe8d8cf1c4a7c1af361a43ca6b6"
            },
            {
              "introduced": "cb628a9a08933c2a9f1eae2f3be70ea5d343b419"
            },
            {
              "fixed": "c88d732e399b816b69010c2c6ee7deb2da268681"
            },
            {
              "introduced": "89457b26d192c06325bb6782b85d1025dafbefe9"
            },
            {
              "fixed": "b198428e41b0f2fafe4bb0e6db6e53f5b9eda212"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "A flaw was found in moodle before versions 3.7.1, 3.6.5, 3.5.7. A sesskey (CSRF) token was not being utilised by the XML loading/unloading admin tool.",
  "id": "CVE-2019-10186",
  "modified": "2026-07-08T05:36:29.659900296Z",
  "published": "2019-07-31T22:15:12.307Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/109175"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10186"
    },
    {
      "type": "FIX",
      "url": "https://moodle.org/mod/forum/discuss.php?d=388567#p1566329"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}