Navigation Menu

Skip to content

Commit

Permalink
Reflected XSS 취약점(16-036) 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Feb 11, 2016
1 parent 008ae97 commit 9a87050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bbs/alert.php
Expand Up @@ -33,6 +33,8 @@
$url = clean_xss_tags($url);
if (!$url) $url = clean_xss_tags($_SERVER['HTTP_REFERER']);

$url = preg_replace("/[\<\>\'\"\\\'\\\"\(\)]/", "", $url);

// url 체크
check_url_host($url);

Expand Down

0 comments on commit 9a87050

Please sign in to comment.