All reports
Medium

Moodle Allows Modification of Constants

Affected versions

Affected versions
< 1.9.14
Fixed version
1.9.14
Affected versions
>= 2.1, < 2.1.2
Fixed version
2.1.2
Affected versions
>= 2.0, < 2.0.5
Fixed version
2.0.5

Exploitation

CVE-2011-4301

Probability of exploitation in the next 30 days: 2.08%

FIRST EPSS · 2026-11-20

Description

The MoodleQuickForm class in the Forms Library in lib/formslib.php in Moodle 1.9.x before 1.9.14, 2.0.x before 2.0.5, and 2.1.x before 2.1.2 does not recognize Forms API setConstant operations, which allows remote attackers to submit unexpected form content by modifying the values of constant fields.

Links