# CVE-2018-14630

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 3.1.14, 3.3.8, 3.4.5, 3.5.2 (CNA); fix release not confirmed
- Status: published
- Published: 2018-09-17 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-14630
- Record: https://cvemate.com/vulnerability/CVE-2018-14630 · JSON: https://cvemate.com/vulnerability/CVE-2018-14630/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 4.546%, percentile 91.827%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- ubuntu moodle (Ubuntu): All versions (No fix recorded)
- moodle moodle: ≤ 3.0.10 \| ≥ 3.1.0, \< 3.1.14 \| ≥ 3.3.0, \< 3.3.8 \| ≥ 3.4.0, \< 3.4.5 \| ≥ 3.5.0, \< 3.5.2
- \[unknown\] moodle: 3.5.2 \| 3.4.5 \| 3.3.8 \| 3.1.14

## References

- <http://www.securityfocus.com/bid/105354>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880>
- <https://moodle.org/mod/forum/discuss.php?d=376023>
- <https://seclists.org/fulldisclosure/2018/Sep/28>
- <https://www.sec-consult.com/en/blog/advisories/remote-code-execution-php-unserialize-moodle-open-source-learning-platform-cve-2018-14630/>
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630>
- <https://ubuntu.com/security/CVE-2018-14630>
- <https://claudiospiess.com/posts/exploiting-moodle/>
- <https://www.cve.org/CVERecord?id=CVE-2018-14630>

---

Data as of 2026-12-05T03:28:24.398Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
