In my asp.net MVC appplication i have below line of code in default.cs page which is present by default and every ASP.NET MVC application should have this line.
HttpContext.Current.RewritePath(Request.ApplicationPath, false);
Now the issue is Ounce is reporting that is security issue saying CrossSiteScripting.Reflected ..
Please advice
It isn’t a security breach at all. All this code does is ensure that the current request is re-issued using MVC’s request handler, instead of ASP.NET’s. This code exists to handle cases where MVC fails to handle the request by default as a result of the server’s configuration.
It sounds to me like Ounce is reporting a false positive.