]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 23 Jun 2015 00:21:48 +0000 (12:21 +1200)
commit4b5a87c7ec62cfb796ea7c24aec8a61039e25f5c
treec1a12ce27187df816f441c54dc9c5c6dcc588b23
parentf260c56838d5c914831b7de1171df11fa5714ce1
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: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc