{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-14630","published":"2018-09-17T18:29:00.497000Z","last_modified":"2026-06-17T01:41:19.790000Z","status":"Modified","cvss":{"version":"3.0","score":8.8,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-20","CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_end_including":"3.0.10"},{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_start_including":"3.1.0","version_end_excluding":"3.1.14"},{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_start_including":"3.3.0","version_end_excluding":"3.3.8"},{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_start_including":"3.4.0","version_end_excluding":"3.4.5"},{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_start_including":"3.5.0","version_end_excluding":"3.5.2"}],"cpes_truncated":false,"vendors":["moodle"],"products":["moodle/moodle"],"epss":{"score":0.04546,"percentile":0.9236,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c3pr-h96w-2jjg","ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[{"introduced":"3.5.0","fixed":"3.5.2"}],"versions":["v3.5.0","v3.5.1"],"versions_truncated":false},{"advisory":"GHSA-c3pr-h96w-2jjg","ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[{"introduced":"3.4.0","fixed":"3.4.5"}],"versions":["v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.4.4"],"versions_truncated":false},{"advisory":"GHSA-c3pr-h96w-2jjg","ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[{"introduced":"3.2.0","fixed":"3.3.8"}],"versions":["v3.2.0","v3.2.1","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6","v3.2.7","v3.2.8","v3.2.9","v3.3.0","v3.3.0-beta","v3.3.0-rc1","v3.3.0-rc2","v3.3.0-rc3","v3.3.1","v3.3.2","v3.3.3","v3.3.4","v3.3.5","v3.3.6","v3.3.7"],"versions_truncated":false},{"advisory":"GHSA-c3pr-h96w-2jjg","ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[{"introduced":"0","fixed":"3.1.14"}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.10","v2.4.11","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-beta","v2.6.0-rc1","v2.6.1","v2.6.10","v2.6.11","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.6.9","v2.7.0","v2.7.0-beta","v2.7.0-rc1","v2.7.0-rc2","v2.7.1","v2.7.10","v2.7.11","v2.7.12","v2.7.13","v2.7.14","v2.7.15","v2.7.16","v2.7.17","v2.7.18","v2.7.19","v2.7.2","v2.7.20","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8","v2.7.9","v2.8.0","v2.8.0-beta","v2.8.0-rc1","v2.8.0-rc2","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.8.9","v2.9.0","v2.9.0-beta","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6","v2.9.7","v2.9.8","v2.9.9","v3.0.0","v3.0.0-beta","v3.0.0-rc1","v3.0.0-rc2","v3.0.0-rc3","v3.0.0-rc4","v3.0.1","v3.0.10","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0","v3.1.0-beta","v3.1.0-rc1","v3.1.0-rc2","v3.1.1","v3.1.10","v3.1.11","v3.1.12","v3.1.13","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9"],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2018-14630/","html_en":"/en/cve/CVE-2018-14630/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-14630","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-14630"},"untrusted":{"vendor_name":"Moodle","product_name":"Moodle","desc_en":"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.","affected":[{"untrusted_vendor":"[UNKNOWN]","untrusted_product":"moodle","versions":[]}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/105354","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=376023","tags":["Patch","Vendor Advisory"]},{"url":"https://seclists.org/fulldisclosure/2018/Sep/28","tags":["Exploit","Mailing List","Third Party Advisory"]},{"url":"https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630/","tags":["Exploit","Third Party Advisory"]}]}}