0

While using

return Json(educationModel, JsonRequestBehavior.AllowGet);

Where educationModel is the object of the controller which iam using.

But I am getting an security issue shown below.

"The method sends unvalidated data to a web browser ,which can result in the browser executing malicious code".

I understand it is because of "Cross-site scripting (XSS) vulnerabilities".

I am using MVC 3.0 with Framework 4.0.

Can any one give me the solution for this?How to fix this?

Thanks in advance

0 Answers0