The theme implementation in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 triggers duplicate caching of Cascading Style Sheets (CSS) and JavaScript content, which allows remote attackers to bypass intended access restrictions and write to an operating-system temporary directory via unspecified vectors.
https://github.com/advisories/GHSA-wxvp-8q8h-r6rr
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-5674
http://openwall.com/lists/oss-security/2011/11/14/1
http://moodle.org/mod/forum/discuss.php?d=182736
http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=e1c2a211f259821910be2cba23679d4176fb00a3