Description
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 'drag and drop into text' (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.
Remediation
References
Related Vulnerabilities
WordPress Plugin WP Post to PDF Enhanced Cross-Site Scripting (1.0.5)
PHP Use After Free Vulnerability (CVE-2016-6290)
Roundcube Unspesificed Vulnerability (CVE-2019-10740)
Jenkins Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2014-3666)
WordPress Deserialization of Untrusted Data Vulnerability (CVE-2020-28032)