]> git.koha-community.org Git - koha.git/commit
Bug 14423 : XSS bugs in catalogue search
authorChris <chris@bigballofwax.co.nz>
Sun, 21 Jun 2015 09:01:32 +0000 (09:01 +0000)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 23 Jun 2015 00:33:52 +0000 (12:33 +1200)
commite21bf78b8b073d568998da32acb64cae9d4f4edd
tree6831eccf1b565dbdeb77687bef36c5d7c06d4918
parent308c4c4d4685e05f6d6e763bfa785d78f230010b
Bug 14423 : XSS bugs in catalogue search

To test

1/ hit a url like http://localhost:8081/cgi-bin/koha/catalogue/search.pl?limit=%3Cscript%3Ealert%28%27oh%20noes%27%29%3C/script%3E
2/ Notice alert boxes
3/ Apply patch
4/ Reload url, no alerts
5/ Check search still works

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/modules/catalogue/results.tt