The Critical Role of Input Validation in Web Security