Bug 14423 : XSS in authorities-home
commit794fb09fac40408e12504fb67337299e0b30abe9
authorChris <chris@bigballofwax.co.nz>
Sun, 21 Jun 2015 08:10:20 +0000 (21 08:10 +0000)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 23 Jun 2015 00:33:51 +0000 (23 12:33 +1200)
tree90610c5f18394d68eaa80a2621dace2f878bb41c
parent96047dba2c8f97e5582277b88e047534babe1761
Bug 14423 : XSS in authorities-home

To test:
1/ Hit a url like http://localhost:8081/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=mainentry&and_or=and&operator=contains&value=%22/%3E%3Cscript%3Ealert%28%27oh%20noes%27%29%3C/script%3E
2/ Notice you get 3 alert boxes
3/ Apply patch
4/ Hit the url again, no js

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc