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
Drupal Core 8.7.x Cross-Site Scripting (8.7.0 - 8.7.13)
TYPO3 Uncontrolled Recursion Vulnerability (CVE-2021-21359)
MediaWiki Resource Management Errors Vulnerability (CVE-2015-2936)
Apache HTTP Server Out-of-bounds Write Vulnerability (CVE-2017-15710)
WordPress Plugin Social Connect Cross-Site Scripting (1.0.4)