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.
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10186
github.com/moodle/moodle
github.com/moodle/moodle/commit/ea1ac3c7efbddbdb210ea4c75e7156c7d7ee914b
moodle.org/mod/forum/discuss.php?d=388567#p1566329
nvd.nist.gov/vuln/detail/CVE-2019-10186
web.archive.org/web/20210125055044/https://www.securityfocus.com/bid/109175