Bug 14423 : Multiple XSS bugs in suggestion.pl
commitb847e4e6d111d3e5e6e115d6f6bd290ef124e13b
authorChris <chris@bigballofwax.co.nz>
Sun, 21 Jun 2015 09:35:07 +0000 (21 09:35 +0000)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 23 Jun 2015 00:33:52 +0000 (23 12:33 +1200)
tree7a80ac0390a77ddac2e200f4d42136a39de9dfb4
parent5de675274633eefed59b95ae3176afcce2c7801d
Bug 14423 : Multiple XSS bugs in suggestion.pl

To test
1/ Hit a url like http://localhost:8081/cgi-bin/koha/suggestion/suggestion.pl?author=%22%3E%3Cscript%3Ealert%28%27oh%20noes%27%29%3C/script%3E&accepteddate_to=
2/ Notice alert box(es)
3/ Apply patch
4/ Reload and notice alert is gone

Repeat for
collection_title
copyrightdate
isbn
manageddate_from
manageddate_to
publishercode
suggesteddate_from
suggesteddate_to

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/suggestion/suggestion.tt