diff --git a/adm/admin.head.php b/adm/admin.head.php
index bb78781cc..fc72857d2 100644
--- a/adm/admin.head.php
+++ b/adm/admin.head.php
@@ -87,6 +87,7 @@ if (!empty($_COOKIE['g5_admin_btn_gnb'])) {
?>
diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php
index 21c153c0a..3a3a81675 100644
--- a/adm/board_copy_update.php
+++ b/adm/board_copy_update.php
@@ -89,10 +89,10 @@ $sql = " insert into {$g5['board_table']}
bo_new = '{$board['bo_new']}',
bo_hot = '{$board['bo_hot']}',
bo_image_width = '{$board['bo_image_width']}',
- bo_skin = '{$board['bo_skin']}',
- bo_mobile_skin = '{$board['bo_mobile_skin']}',
- bo_include_head = '{$board['bo_include_head']}',
- bo_include_tail = '{$board['bo_include_tail']}',
+ bo_skin = '" . sql_real_escape_string($board['bo_skin']). "',
+ bo_mobile_skin = '" . sql_real_escape_string($board['bo_mobile_skin']). "',
+ bo_include_head = '" . sql_real_escape_string($board['bo_include_head']). "',
+ bo_include_tail = '" . sql_real_escape_string($board['bo_include_tail']). "',
bo_content_head = '" . addslashes($board['bo_content_head']) . "',
bo_content_tail = '" . addslashes($board['bo_content_tail']) . "',
bo_mobile_content_head = '" . addslashes($board['bo_mobile_content_head']) . "',
diff --git a/adm/board_form_update.php b/adm/board_form_update.php
index df676fa11..b1c9af12d 100644
--- a/adm/board_form_update.php
+++ b/adm/board_form_update.php
@@ -161,6 +161,10 @@ $bo_comment_min = isset($_POST['bo_comment_min']) ? (int) $_POST['bo_comment_min
$bo_comment_max = isset($_POST['bo_comment_max']) ? (int) $_POST['bo_comment_max'] : 0;
$bo_sort_field = isset($_POST['bo_sort_field']) ? clean_xss_tags($_POST['bo_sort_field'], 1, 1) : '';
+if (strpbrk($bo_skin.$bo_mobile_skin, "?%*:|\"<>") !== false) {
+ alert('스킨 디렉토리명 오류!');
+}
+
$etcs = array();
for ($i = 1; $i <= 10; $i++) {
diff --git a/extend/version.extend.php b/extend/version.extend.php
index 169d970ab..682640d54 100644
--- a/extend/version.extend.php
+++ b/extend/version.extend.php
@@ -2,7 +2,7 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 자바스크립트와 CSS 파일을 새로 다운로드 하도록 파일의 끝에 년월일 지정
-// 예) https://도메인/css/default.css?ver=210618
-// 예) https://도메인/js/common.js?ver=210618
-define('G5_CSS_VER', '210618');
-define('G5_JS_VER', '210618');
+// 예) https://도메인/css/default.css?ver=220620
+// 예) https://도메인/js/common.js?ver=220620
+define('G5_CSS_VER', '220620');
+define('G5_JS_VER', '220620');
diff --git a/mobile/shop/orderaddress.php b/mobile/shop/orderaddress.php
index 66a28767e..e4fb04099 100644
--- a/mobile/shop/orderaddress.php
+++ b/mobile/shop/orderaddress.php
@@ -1,6 +1,8 @@