Cross-site scripting (XSS) vulnerability in view.php in Moodle 1.4.2 and earlier allows remote attackers to inject arbitrary web script or HTML via the search parameter.
https://exchange.xforce.ibmcloud.com/vulnerabilities/18702
http://secunia.com/advisories/13694