Live threats

All CVEs / Moodle

CVE-2018-1133Moodle

High 8.8 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
moodlemoodle≥ 3.1.0 ≤ 3.1.11
moodlemoodle≥ 3.2.0 ≤ 3.2.8
moodlemoodle≥ 3.3.0 ≤ 3.3.5
moodlemoodle≥ 3.4.0 ≤ 3.4.2

Official sources

References

Links published by the sources. Open them with care.