CVE-2018-14630Moodle
High 8.8
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.0
- 8.8
- EPSS
- 4.5% probability of exploitation in 30 days · percentile 92
- Auth required
- Yes
- Published
- Sep 17, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.5.0 < 3.5.2 |
3.5.2 |
composer require "moodle/moodle:^3.5.2" |
| Packagist | moodle/moodle |
≥ 3.4.0 < 3.4.5 |
3.4.5 |
composer require "moodle/moodle:^3.4.5" |
| Packagist | moodle/moodle |
≥ 3.2.0 < 3.3.8 |
3.3.8 |
composer require "moodle/moodle:^3.3.8" |
| Packagist | moodle/moodle |
< 3.1.14 |
3.1.14 |
composer require "moodle/moodle:^3.1.14" |
Per OSV / GitHub Advisories (GHSA-c3pr-h96w-2jjg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≤ 3.0.10 |
| moodle | moodle | ≥ 3.1.0 < 3.1.14 |
| moodle | moodle | ≥ 3.3.0 < 3.3.8 |
| moodle | moodle | ≥ 3.4.0 < 3.4.5 |
| moodle | moodle | ≥ 3.5.0 < 3.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- moodle.org Patch Vendor Advisory
- seclists.org Exploit Mailing List Third Party Advisory
- www.sec-consult.com Exploit Third Party Advisory