Veracode is pointing out the issue Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in the below line.
$('#SummaryDiv').html(data);
$.ajax({
url: 'Target_URL',
type: 'GET',
datatype: "json",
traditional: true,
cache: false
}).done(function (data) {
$('#SummaryDiv').html(data);
I am binding the MVC View Result to DIV via the ajax call. Checked the articles in the stackoverflow but no luck. What could be the possible solution to fix this veracode issue.