When a viewmodel is passed into the asp.net mvc controller, are the inputs automatically sanitized against sql injection, or do I have to sanitize each property on my viewmodel with something like AntiXss.GetSafeHtml from the Microsoft Antixss library?
I'm new to MVC, so I'm not familiar with all the behind the scenes things the asp.net mvc controllers do.
Thanks!
EDIT - I meant to say I should sanitize my inputs for use in sql down the stack. Is the anti-forgery token in MVC enough to stop xss?