Srinubabu (Community Member) asked a question.

Veracode Scan: jQuery html method showing Improper Neutralization of Script-Related HTML Tags in a Web Page issue

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);

 

I am binding the MVC View Result to DIV via the ajax call. Checked the articles in the veracode community but no luck. What could be the possible solution to fix this veracode issue.


Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.