Multiple cross-site scripting (XSS) vulnerabilities in Moodle 1.6.1 and earlier might allow remote attackers to inject arbitrary web script or HTML via unspecified parameters to (1) doc/index.php or (2) files/index.php.
https://exchange.xforce.ibmcloud.com/vulnerabilities/28905
http://www.vupen.com/english/advisories/2006/3591
http://www.securityfocus.com/bid/19995