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.
https://github.com/advisories/GHSA-wv9c-pfpm-4wc5
https://moodle.org/mod/forum/discuss.php?d=388567#p1566329