]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 23 Jun 2015 00:23:00 +0000 (12:23 +1200)
commit48af13bd1a0eff3162d5e8edb867a701e233e5da
tree0f28494b5f2056fc91be84e3dc81ec88a7ed4114
parentd35384c039b8db00659d1cd0ee08cfb50c45481e
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: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt