]> git.koha-community.org Git - koha.git/commit
Bug 14423: XSS in authorities-home
authorChris <chris@bigballofwax.co.nz>
Sun, 21 Jun 2015 08:10:20 +0000 (08:10 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 23 Jun 2015 13:11:49 +0000 (10:11 -0300)
commit98901d27be4cf6fd6210ebb32b9cddf2fcd827a0
tree2dbe7f3f9d059bfa5e4ab731396f3148ce295534
parentd8bccd612638c4728f561972daf7f70d49d263a5
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: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc