diff --git a/adm/shop_admin/categorylistupdate.php b/adm/shop_admin/categorylistupdate.php index 4b42b67c9..66d4fea07 100644 --- a/adm/shop_admin/categorylistupdate.php +++ b/adm/shop_admin/categorylistupdate.php @@ -10,7 +10,7 @@ check_admin_token(); for ($i=0; $i 99) alert("포인트 비율을 0과 99 사이의 값으로 입력해 주십시오."); -$it_name = strip_tags(trim($_POST['it_name'])); +$it_name = strip_tags(clean_xss_attributes(trim($_POST['it_name']))); // KVE-2019-0708 $check_sanitize_keys = array( @@ -326,7 +326,7 @@ $sql_common = " ca_id = '$ca_id', it_type5 = '$it_type5', it_basic = '$it_basic', it_explan = '$it_explan', - it_explan2 = '".strip_tags(trim($_POST['it_explan']))."', + it_explan2 = '".strip_tags(trim(clean_xss_attributes($_POST['it_explan'])))."', it_mobile_explan = '$it_mobile_explan', it_cust_price = '$it_cust_price', it_price = '$it_price', diff --git a/adm/shop_admin/personalpayformupdate.php b/adm/shop_admin/personalpayformupdate.php index a94afb41f..9fecf1cd1 100644 --- a/adm/shop_admin/personalpayformupdate.php +++ b/adm/shop_admin/personalpayformupdate.php @@ -5,7 +5,7 @@ include_once('./_common.php'); check_admin_token(); if( isset($_POST['pp_name']) ){ - $_POST['pp_name'] = strip_tags($_POST['pp_name']); + $_POST['pp_name'] = strip_tags(clean_xss_attributes($_POST['pp_name'])); } if($w == 'd') { diff --git a/adm/shop_admin/sendcostupdate.php b/adm/shop_admin/sendcostupdate.php index a5c179b85..121943189 100644 --- a/adm/shop_admin/sendcostupdate.php +++ b/adm/shop_admin/sendcostupdate.php @@ -22,7 +22,7 @@ if($w == 'd') { sql_query(" delete from {$g5['g5_shop_sendcost_table']} where sc_id = '$sc_id' "); } } else { - $sc_name = trim(strip_tags($_POST['sc_name'])); + $sc_name = trim(strip_tags(clean_xss_attributes($_POST['sc_name']))); $sc_zip1 = preg_replace('/[^0-9]/', '', $_POST['sc_zip1']); $sc_zip2 = preg_replace('/[^0-9]/', '', $_POST['sc_zip2']); $sc_price = preg_replace('/[^0-9]/', '', $_POST['sc_price']);