CVE-2011-4301

CVE-2011-4301 is a medium-severity vulnerability in Moodle with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is CVE-2011-4301?
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.
How severe is CVE-2011-4301?
CVE-2011-4301 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2011-4301 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2011-4301?
CVE-2011-4301 primarily affects Moodle. In total, 19 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2011-4301?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2011-4301 published?
CVE-2011-4301 was published on 2012-07-11 and last updated on 2026-06-16.

References

Affected products (19)

More vulnerabilities in Moodle

All CVEs affecting Moodle →