Use ajax to receive remote information, do not send the user all information, such as answers to polls, etc., get an answer after he has selected a choice from the server, for example, using ajax. Client-side validation is never good, damn it, as I used to delete other stupid people’s databases because of this, if people don’t learn how things really REALLY work, they should learn in such a difficult way, how to lose everything in case root access vulnerabilities.
I don’t know why HTML should be blocked, it wasn’t blocked, since the browsers came out so that it could make my own browser using a socket and transfer the HTML directly to the text box and see it in my favorite notepad / editor, etc. .
As for javascript, you can just send javascript commands to the address bar of the browser (how convenient browsers are in supporting hackers hehe, but it is also used to interact with other technologies such as flash, so it has an evil / good side like everyone else .)
If you didn’t know you could just do
javascript: alert('hi');
or if your javascript game or something else has globally modified variables, you can easily change them.
javascript: score=9999;damage=99999;
etc. etc., for example, I said that all this is good, that he will frustrate bad programmers and get them laid off or teach them a lesson in the future.
I saw how many large sites still fall for a SIMPLE XSS attack (cross-site scripting) that just puzzles how these programmers get the job done, I would do a better interview or some shit is ridiculous