]> git.koha-community.org Git - koha.git/commit
Bug 17024: Fix XSS in tools/viewlog.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Aug 2016 13:32:46 +0000 (14:32 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 5 Aug 2016 06:15:32 +0000 (08:15 +0200)
commit24664b719f9d09210f30d7f96fc025e08da8124e
tree5cd31051df5ca5f323c084011ebaf1e5b165acfd
parentec78a0d43fe8032d9eeb9272878129085c3c429f
Bug 17024: Fix XSS in tools/viewlog.pl

Test plan:
    Hit /tools/viewlog.pl?do_it=1&modules=CATALOGUING&action=MODIFY&object=<script>alert("XSS")</script>

=> Without this patch you will see the alert
=> With this patch, no more alert

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit f563ba795e4863328ff4930e7877caae9458206c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt