CVE-2018-1133Moodle
High 8.8 High EPSS
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.0
- 8.8
- EPSS
- 30.8% probability of exploitation in 30 days · percentile 99
- Auth required
- Yes
- Published
- May 25, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in Moodle 3.x. A Teacher creating a Calculated question can intentionally cause remote code execution on the server, aka eval injection.
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.1 < 3.1.12 |
3.1.12 |
composer require "moodle/moodle:^3.1.12" |
| Packagist | moodle/moodle |
≥ 3.2 < 3.2.9 |
3.2.9 |
composer require "moodle/moodle:^3.2.9" |
| Packagist | moodle/moodle |
≥ 3.3 < 3.3.6 |
3.3.6 |
composer require "moodle/moodle:^3.3.6" |
| Packagist | moodle/moodle |
≥ 3.4 < 3.4.3 |
3.4.3 |
composer require "moodle/moodle:^3.4.3" |
Per OSV / GitHub Advisories (GHSA-xh2j-q4mc-v522). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.1.0 ≤ 3.1.11 |
| moodle | moodle | ≥ 3.2.0 ≤ 3.2.8 |
| moodle | moodle | ≥ 3.3.0 ≤ 3.3.5 |
| moodle | moodle | ≥ 3.4.0 ≤ 3.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- moodle.org Patch Vendor Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry