All vulnerabilities

Servers and applications

CVE-2018-14630

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.

Severity
High 8.8
Published
17 Sept 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.14, 3.3.8, 3.4.5, 3.5.2
Exploit chance
4.6% in the next 30 daysHigher than 91% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Improper input validation (CWE-20)Code injection (CWE-94)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Every version up to 3.0.10
  • From 3.1.0 before 3.1.14
  • From 3.3.0 before 3.3.8
  • From 3.4.0 before 3.4.5
  • From 3.5.0 before 3.5.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-14630
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-14630