Moodle Improper Control of Generation of Code (Code Injection) Vulnerability - CVE-2018-14630
moodle before versions 3.5.2 3.4.5 3.3.8 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional remote code execution. When importing legacy 39drag and drop into text39 (ddwtos) type quiz questions it was possible to inject and execute PHP code from within the imported questions either intentionally or by importing questions from an untrusted source.