From cb61fa30459820564b9f8c5483934e9a47a64ff5 Mon Sep 17 00:00:00 2001 From: kagla Date: Fri, 11 Mar 2022 11:01:15 +0900 Subject: [PATCH] =?UTF-8?q?#167=20Security=20Report=20:=20Cross-Site=20Scr?= =?UTF-8?q?ipting=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0=20(P0cas?= =?UTF-8?q?=EB=8B=98,220311)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/memo.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bbs/memo.php b/bbs/memo.php index 86ffb7930..f7cd044e7 100644 --- a/bbs/memo.php +++ b/bbs/memo.php @@ -16,8 +16,7 @@ if ($kind == 'recv') else if ($kind == 'send') $unkind = 'recv'; else { - $kind = clean_xss_tags(trim($kind)); - alert(''.$kind .'값을 넘겨주세요.'); + alert("kind 변수 값이 올바르지 않습니다."); } if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)