]> git.koha-community.org Git - koha.git/commit
Bug 17021: Fix XSS in circ/returns.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Jul 2016 12:01:43 +0000 (13:01 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 23 Aug 2016 09:37:41 +0000 (11:37 +0200)
commit4f5121a99e063fc05fb19caac89e5a56b1ff0afb
treea36c205816030c03823062fbd0ccce2939a5d5ab
parentd432c5bba836601b809a9f807af05ef85e952453
Bug 17021: Fix XSS in circ/returns.pl

Test plan:
Enter the following in the barcode input:
<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: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 12b4c83f5a5c11af635cae83e6837ff80dc02da7)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt