Cross-site scripting (XSS) vulnerability in the filter_draw_selection_area2 function in core/filter_api.php in MantisBT 1.2.12 before 1.2.13 allows remote attackers to inject arbitrary web script or HTML via the match_type parameter to bugs/search.php.
http://www.mantisbt.org/bugs/view.php?id=15373
http://secunia.com/advisories/51853
http://seclists.org/oss-sec/2013/q1/140
http://seclists.org/oss-sec/2013/q1/125
http://seclists.org/oss-sec/2013/q1/118
http://hauntit.blogspot.de/2013/01/en-mantis-bug-tracker-1212-persistent.html