Re: If changing all user input "<" to < before rendering in HTML, can I say it's completely safe now?
Date: January 04, 2012 08:23PM
No. You have to consider that the attacker can be use something like that to inject javascript when some data of a get or a post data is used to set a url.
e.g. <a href="http://sample.com/?var=(RECEIVE DATA)">
If the attacker inject something like that: " onmouseover="alert(1)" bad=,
he can run javascript on your website.