An attacker can tamper with the field, and attempt to gain administrative access. This is called vertical escalation.
<form method="POST" action="search"> Please enter your search term: <input type="text" name="search"> <input type="hidden" name="role" value="user"> <input type="submit" value="Search"> </form>