Koha-clms/koha-tmpl
Jonathan Druart e48dac0bf5 Bug 17114: Fix XSS in picture-upload.pl
To reproduce:
1/ cp your_image.jpg 'test<svg onload=alert(1)>.jpg'
2/ Use the upload picture tool to upload this file
=> Without this patch, the alert is show
=> With this patch, the filename is correctly displayed and no alert

Note that the cardnumber var was not escaped neither, it's now.

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit da03dbd458)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 0fba9c17c9)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-09-16 11:55:59 +02:00
..
intranet-tmpl Bug 17114: Fix XSS in picture-upload.pl 2016-09-16 11:55:59 +02:00
opac-tmpl Bug 17220: Change hold confirmation string from 'Place hold' to 'Confirm hold' 2016-09-16 10:41:40 +02:00
favicon.ico
…
index.html
…
intranet.html
…
opac.html
…