영카트 Stored XSS 취약점 및 파일 업로드 취약점 (KVE-2018-0215, 2018-0342) 수정

This commit is contained in:
thisgun
2018-04-20 11:50:56 +09:00
parent 4ad1bb176c
commit 74c59452b7
3 changed files with 13 additions and 2 deletions

View File

@ -48,7 +48,7 @@ $is_dhtml_editor = false;
if ($config['cf_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) {
$is_dhtml_editor = true;
}
$editor_html = editor_html('is_content', get_text($use['is_content'], 0), $is_dhtml_editor);
$editor_html = editor_html('is_content', get_text(html_purifier($use['is_content']), 0), $is_dhtml_editor);
$editor_js = '';
$editor_js .= get_editor_js('is_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('is_content', $is_dhtml_editor);