クロスサイトスクリプティング 12 - yujitounai/helloworld GitHub Wiki
strip_tagのXSS
<div class="box">
<form method="get" action="">enter url
<input name="word" type="text">
<input type="submit">
</form>
</div>
<?php
$word=filter_input(INPUT_GET, 'word');
echo "<img src='".strip_tags($word)."'>";
?>
?word=1'onmouseover=alert(1)//