I'm currently developing an ASP.NET MVC 4 website and have a question regarding Cross-site Scripting (XSS) vulnerabilities with the underlying ViewModel.
I am aware that ASP.NET does provide some request validation, but is there anything else I need to do to prevent XSS attacks? Do I need to use AntiXSS to sanitise each property of the ViewModel once it's been posted back to the server?
I did try entering alert("Hello"); into one of my textbox inputs and ASP.NET correctly caught it as potentially dangerous, but I just want to make sure I haven't missed something else.
Thanks for any and all advice.