]> git.koha-community.org Git - koha.git/commit
Bug 16958: Fix XSS in opac-imageviewer.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 22 Jul 2016 07:14:27 +0000 (08:14 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 22 Jul 2016 17:12:02 +0000 (17:12 +0000)
commit65918b146cd88f38a9d894be8175d049ea70d05f
tree67b317d1d24d1c316bb56d7a33acf12231f1ae51
parent87d96b973aa19e0808070d4b0fdd6485e5c83181
Bug 16958: Fix XSS in opac-imageviewer.pl

Test plan:
Trigger
/opac-imageviewer.pl?biblionumber=14&imagenumber=7"><sCrIpT>alert(42)<%2fsCrIpT>

=> Without this patch you will see the JS alert
=> With this patch applied you won't see it

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt