]> git.koha-community.org Git - koha.git/commit
Bug 13510 : Fixing the third XSS issue
authorChris <chris@bigballofwax.co.nz>
Mon, 5 Jan 2015 06:37:51 +0000 (06:37 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 23 Jan 2015 09:26:15 +0000 (10:26 +0100)
commit62dfb6ac6e041d092e3208773e4f9ab64de047f0
treecbcefffa5eed3cf45e41bcabbee01c1b9e2ce239
parent4a80c0483ee87cde8a065c425a519a471ed6fcb3
Bug 13510 : Fixing the third XSS issue

To test

1/ Make sure you have some items in your database, that have values in items.issue
If nessecary do something like

UPDATE items SET issues = 10 WHERE itemnumber=somenumber

2/ Hit a url like http://localhost:8080/cgi-bin/koha/opac-topissues.pl?do_it=1&timeLimit=3%3Cscript%3Eprompt%28924513%29%3C/script%3E

3/ Notice you will get a prompt
4/ Apply patch
5/ Test again

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 82e3bc7e21995172465c0482ba9af9a99cef5a78)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt