{"id":"CVE-2021-20187","details":"It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication.","aliases":["BIT-moodle-2021-20187","GHSA-2jrm-gww7-wch2"],"modified":"2026-02-22T01:29:50.462520Z","published":"2021-01-28T19:15:13.377Z","references":[{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=417171"},{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=417171"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"0"},{"fixed":"bbf242efb086307a0af9367d6caea08649b261d1"},{"introduced":"500c131eb49771e36f68d151dfa37fef5a9bc2df"},{"fixed":"de301d4237c42ddd0d4ae7395e663b8457943727"},{"introduced":"f968cd44e8ee5d54b1bc56823040ff770dbf18af"},{"fixed":"323c12674aa74d327ded9f5e44458cd5d1aea174"}]}],"versions":["v3.8.0","v3.8.1","v3.8.2","v3.8.3","v3.8.4","v3.8.5","v3.8.6","v3.9.0","v3.9.1","v3.9.2","v3.9.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-20187.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}