Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
영카트 Reflected XSS (17-0789) 취약점 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Nov 7, 2017
1 parent 0972f36 commit de13931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adm/menu_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
$g5['title'] = '메뉴 추가';
include_once(G5_PATH.'/head.sub.php');

$code = isset($code) ? preg_replace('/[^0-9a-zA-Z]/', '', strip_tags($code)) : '';

// 코드
if($new == 'new' || !$code) {
$code = base_convert(substr($code,0, 2), 36, 10);
Expand Down

0 comments on commit de13931

Please sign in to comment.