CVE-2018-1133
HIGH 8.8CVSS 3.0Moodle calculated question type allows remote code execution by Question authors
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.
- Published
- 25 May 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-xh2j-q4mc-v522
- Sources
- NVDJSONOSV GHSA-xh2j-q4mc-v522JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.1.0, <= 3.1.11 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.2.0, <= 3.2.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.3.0, <= 3.3.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, <= 3.4.2 | |
| OSV | Packagist | moodle/moodle | >= 3.1, < 3.1.12 | 3.1.12 |
| OSV | Packagist | moodle/moodle | >= 3.2, < 3.2.9 | 3.2.9 |
| OSV | Packagist | moodle/moodle | >= 3.3, < 3.3.6 | 3.3.6 |
| OSV | Packagist | moodle/moodle | >= 3.4, < 3.4.3 | 3.4.3 |
References
- http://www.securityfocus.com/bid/104307 · Third Party Advisory, VDB Entry, WEB
- https://moodle.org/mod/forum/discuss.php?d=371199 · Patch, Vendor Advisory, WEB
- https://www.exploit-db.com/exploits/46551/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1133 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 May 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)