{"id":"CVE-2011-4301","published":"2012-07-11T10:00:00Z","modified":"2024-08-07T00:01:51Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02078,"percentile":0.81963,"provenance":"source"},"cwes":[],"references":[{"url":"http://moodle.org/mod/forum/discuss.php?d=188313","tags":["x_refsource_CONFIRM"]},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=f1f70bd4dde6cd1ea4bdb8ab28fa3d36a53b89d8","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=747444","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":16.39}]},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<1.9.14",">=2.0, <2.0.5",">=2.1, <2.1.2"],"patched":["1.9.14","2.0.5","2.1.2"],"from":["GHSA-jcrj-gmr6-p5j8"],"provenance":"source"}],"summary":{"text":"The MoodleQuickForm class in the Forms Library (lib/formslib.php) of Moodle 1.9.x before 1.9.14, 2.0.x before 2.0.5, and 2.1.x before 2.1.2 fails to recognise Forms API setConstant operations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:25Z"},"euvd":{"id":"EUVD-2022-4333","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moodle-moodle-cve-2011-4301","children":[{"from":"CVE-2011-4301","to":"CVE-2013-2083","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/formslib.php"],"commits":["https://github.com/moodle/moodle/commit/1f52e72526c305989eadc702b5299edb2a50ac3c","https://github.com/moodle/moodle/commit/2a44c5192c875c4f4b4e813d7227b19d8fda86ba","https://github.com/moodle/moodle/commit/3c0ba94e879702b3c2f20d4cb4f9120a0bfdd9fc","https://github.com/moodle/moodle/commit/8a9c3f4951e05eea80775d8c82d00a64434376c7"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.5,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2011-4294","published":"2012-07-16","fixed":"2.1.1","kev":false,"link":{"from":"CVE-2011-4294","to":"CVE-2011-4301","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"1.9.13","toFixed":"1.9.14","daysApart":-5}]}},{"cve":"CVE-2011-4298","published":"2012-07-11","fixed":"2.1.2","kev":false},{"cve":"CVE-2011-4299","published":"2012-07-11","fixed":"2.1.2","kev":false},{"cve":"CVE-2011-4300","published":"2012-07-11","fixed":"2.1.2","kev":false},{"cve":"CVE-2011-4301","published":"2012-07-11","fixed":"2.1.2","kev":false},{"cve":"CVE-2011-4203","published":"2011-12-22","fixed":"2.1.3","kev":false},{"cve":"CVE-2011-4582","published":"2012-07-20","fixed":"2.1.3","kev":false},{"cve":"CVE-2012-0797","published":"2012-07-17","fixed":"2.2.1","kev":false}],"package":"Packagist:moodle/moodle"}}