From 6a3c2b1002ba0ba9d2f6fdc87a32cc6a3feb97c5 Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 27 Aug 2025 17:58:06 +0900 Subject: [PATCH] =?UTF-8?q?[KVE-2025-0464]=EC=98=81=EC=B9=B4=ED=8A=B8=20XS?= =?UTF-8?q?S=20=EC=B7=A8=EC=95=BD=EC=A0=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemformupdate.php | 36 +++++++++++++++++++++++++++---- adm/shop_admin/itemoption.php | 4 ++-- adm/shop_admin/itemsupply.php | 8 +++---- lib/shop.lib.php | 8 +++---- 4 files changed, 42 insertions(+), 14 deletions(-) diff --git a/adm/shop_admin/itemformupdate.php b/adm/shop_admin/itemformupdate.php index 9543b568f..52ee641ee 100644 --- a/adm/shop_admin/itemformupdate.php +++ b/adm/shop_admin/itemformupdate.php @@ -235,6 +235,14 @@ sql_query(" delete from {$g5['g5_shop_event_item_table']} where it_id = '$it_id' // 선택옵션 sql_query(" delete from {$g5['g5_shop_item_option_table']} where io_type = '0' and it_id = '$it_id' "); // 기존선택옵션삭제 +// 금지할 패턴 목록 +$forbidden_patterns = array( + '/<\s*script/i', //