Jonathan Druart
da03dbd458
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> |
||
---|---|---|
.. | ||
data | ||
includes | ||
js | ||
modules | ||
xslt | ||
columns.def |