[KVE-2025-0259]XSS 취약점 수정

This commit is contained in:
thisgun
2025-05-15 09:53:28 +09:00
parent c2da219473
commit 316d3542a9
5 changed files with 7 additions and 7 deletions

View File

@ -59,7 +59,7 @@ $payReqMap = $_SESSION['lgd_certify'];//결제 요청시, Session에 저장했
foreach ($payReqMap as $key => $value) {
$key = htmlspecialchars(strip_tags($key));
$value = htmlspecialchars(strip_tags($value));
echo "<input type='hidden' name='$key' id='$key' value='$value'>";
echo "<input type='hidden' name='".get_text($key)."' id='".get_text($key)."' value='".get_text($value)."'>";
}
?>
</form>