CVE-2018-14630: moodle Improper Input Validation
Vulnerability summary
CVE-2018-14630 is a high (CVSS 8.8) Improper Input Validation vulnerability in moodle. EPSS estimates a 4.60% chance of exploitation in the next 30 days, higher than 91.5% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 17-09-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- NVDNIST8.8HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.60%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
+0.18 pp
From 4.42% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (seclists.org)
Maturity: unknown
Exploit Reference (sec-consult.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected systems
[unknown]1 product
- moodle3.5.2 | 3.4.5 | 3.3.8 | 3.1.14
Moodle1 product
- 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
Ubuntu1 product
- moodleAll versions (No fix recorded)
3 vendors · 3 products
References
9 links- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880X Refsource CONFIRMPatchVendor AdvisoryREPORT
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14630X Refsource CONFIRMIssue TrackingPatchThird Party AdvisoryREPORT