Have built a chat program for our website. A part of tHe program does allow a web page comment area for chatting about the page.
So there is a text input so text is entered and redisplayed on the page.
Obviously that is potentially risky.
So in order to make a text string input safe for redisplay on a web page, can I just disallow <
and >
chars and their encoded xml and hex equivalents?
Without script tags is there any other potential attack vector that can be embedded in a text string?