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:
parent
c4cc70e7ea
commit
742f8b04f2
@ -95,7 +95,8 @@ class admin_uploader_default extends AdminPanelAction {
|
|||||||
'jsp',
|
'jsp',
|
||||||
'htm',
|
'htm',
|
||||||
'html',
|
'html',
|
||||||
'wml'
|
'wml',
|
||||||
|
'svg'
|
||||||
);
|
);
|
||||||
|
|
||||||
$imgs = array(
|
$imgs = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user