XSS
Posted: Sat Mar 30, 2013 10:22 pm
It seems I've come into a tricky situation with XSS where a user can use "javascript:something" to execute an XSS attack. Obviously htmlentities() does not work here. I could just replace "javascript:" with something else, however, that will not work because of some browsers. (Ex: Samy's Myspace XSS).
What would be the proper way to deal with a situation such as this?
What would be the proper way to deal with a situation such as this?