CVE-2018-14630
HIGH 8.8CVSS 3.0Moodle XML import of ddwtos could lead to intentional remote code execution
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.
- Published
- 17 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-94
- Also known as
- GHSA-c3pr-h96w-2jjg
- Sources
- NVDJSONOSV GHSA-c3pr-h96w-2jjgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
<= 3.0.10 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.14 | 3.1.14 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.8 | 3.3.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.5 | 3.4.5 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.2 | 3.5.2 |
| OSV | Packagist | moodle/moodle | >= 3.5.0, < 3.5.2 | 3.5.2 |
| OSV | Packagist | moodle/moodle | >= 3.4.0, < 3.4.5 | 3.4.5 |
| OSV | Packagist | moodle/moodle | >= 3.2.0, < 3.3.8 | 3.3.8 |
| OSV | Packagist | moodle/moodle | < 3.1.14 | 3.1.14 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880 · Patch, Vendor Advisory, WEB
- http://www.securityfocus.com/bid/105354 · Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=376023 · Patch, Vendor Advisory, WEB
- https://seclists.org/fulldisclosure/2018/Sep/28 · Exploit, Mailing List, Third Party Advisory, WEB
- https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-14630 · ADVISORY
- https://github.com/moodle/moodle/commit/09cbca8566a388e8f0a1a0cfd86cd0667088ed2c · WEB
- https://github.com/moodle/moodle/commit/be092b730910ad97fff0511e177a097ec1cc4b1c · WEB
- https://github.com/moodle/moodle/commit/cb8aefa658cf7ad8f002a480343afb2dea94cc08 · WEB
- https://github.com/moodle/moodle/commit/cfc4393aa689c277a27b9a040ff7dcbdac4e41dd · WEB
- https://github.com/moodle/moodle/commit/da1eeea0ff3d292b7669e478abc114872dd9cc8f · WEB
- https://github.com/moodle/moodle · PACKAGE
- https://web.archive.org/web/20200227111301/https://www.securityfocus.com/bid/105354 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 17 Sep 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)