By using HttpRequestValidationException, does it necessarily protect you against all cross-scripting threats?
Are there situations where a potentially dangerous script might manage to go undetected?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, in short it doesn’t. Please decompile it using reflector and see what it does. An attack on an html attribute could be: ” onfocus=alert(1) autofocus
There are no < or > in this yet it still works. Please use AntiXss and check the OWASP XSS prevention cheat sheet. So you need to pay attention especially whenever you are using unescaped attributes like Literal.