Hello,
is there a way that I could automatically format the input box via Javascript that prevents XSS before the user tries to click on the submit button?
like for instance, after a user types a script attack on a textbox, the javascript automatically formats the value within the textbox to a safe format.
btw, i'm not just relying on this procedure to prevent XSS, its just that our client base have phrases that triggers the ASP.Net to consider it as a XSS. here's the exact example:
the phrase: OMY G<W TUBE/OVARY
will trigger the page to consider this as XSS while OMY G< W TUBE/OVARY
isn't considered as a potential risk.