{"id":"CVE-2006-4936","aliases":["EUVD-2022-4118","GHSA-h9w8-4376-j344"],"status":"published","title":"Moodle does not properly validate module instance id","description":"Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01506,"percentile":0.74556,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2006-09-23T00:00:00Z","modified":"2026-06-16T22:30:09Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["1.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.2"}]}]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://docs.moodle.org/en/Release_notes#Moodle_1.6.2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4936","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/0f69811d980002709668a2001477a811bfee4bab","tags":["web"]},{"url":"https://web.archive.org/web/20061230195936/http://docs.moodle.org/en/Release_notes#Moodle_1.6.2","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h9w8-4376-j344"},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2006-4936","description":"Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.","status":"published","published":"2006-09-23T00:00:00Z","modified":"2024-09-16T20:21:33.208Z","updated_at":"2026-11-02T14:33:51.085765Z"}],"euvd":[{"id":"EUVD-2022-4118","description":"Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.","status":"published","published":"2006-09-23T00:00:00Z","modified":"2024-09-16T20:21:33Z","updated_at":"2026-11-03T00:55:15.039746Z"}],"ghsa":[{"id":"GHSA-h9w8-4376-j344","title":"Moodle does not properly validate module instance id","description":"Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.","status":"published","published":"2022-05-01T07:23:24Z","modified":"2024-02-12T16:29:28Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:38.20753Z"}],"nvd":[{"id":"CVE-2006-4936","description":"Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.","status":"published","published":"2006-09-23T00:07:00Z","modified":"2026-06-16T22:30:09.603Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:06.675668Z"}],"osv":[{"id":"GHSA-h9w8-4376-j344","title":"Moodle does not properly validate module instance id","description":"Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.","status":"published","published":"2022-05-01T07:23:24Z","modified":"2024-02-12T16:56:53.307305Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:48.920784Z"}]}}
