Multiple cross-site scripting (XSS) vulnerabilities in the Staff client in Koha before 3.16.6 and 3.18.x before 3.18.2 allow remote attackers to inject arbitrary web script or HTML via the sort_by parameter to the (1) opac parameter in opac-search.pl or (2) intranet parameter in catalogue/search.pl.
http://secunia.com/advisories/61187
http://koha-community.org/koha-3-18-2-release/
http://koha-community.org/koha-3-16-6-release/
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13425