added SVG to forbidden file types in order to prevent possible XSS - see https://github.com/Nguyen-Trung-Kien/CVE/blob/main/CVE-2022-24588/CVE-2022-24588.pdf

This commit is contained in:
azett 2022-12-17 14:39:15 +01:00
parent c4cc70e7ea
commit 742f8b04f2

View File

@ -95,7 +95,8 @@ class admin_uploader_default extends AdminPanelAction {
'jsp', 'jsp',
'htm', 'htm',
'html', 'html',
'wml' 'wml',
'svg'
); );
$imgs = array( $imgs = array(