[KVE-1574,1575,1576,1577]영카트 XSS 취약점 수정

This commit is contained in:
thisgun
2020-02-13 13:48:58 +09:00
parent 7b220eaeb9
commit a47162dffa
9 changed files with 27 additions and 22 deletions

View File

@ -34,8 +34,8 @@ if( $bn_bimg || $bn_bimg_name ){
}
}
$bn_url = clean_xss_tags($bn_url);
$bn_alt = function_exists('clean_xss_attributes') ? clean_xss_attributes(strip_tags($bn_alt)) : strip_tags($bn_alt);
$bn_url = strip_tags(clean_xss_attributes($bn_url));
$bn_alt = strip_tags(clean_xss_attributes($bn_alt));
if ($w=="")
{