In SharePoint 2013 how to prevent cross-site scripting attack, I deployed a publishing portal to the internet users and its enabled Anonymous access and web application enabled claims mode authentication.

I want to prevent no one can submit the scripts using the SharePoint search

For example:

http://site/pages/result.aspx?k={{%27a%27.constructor.prototype.etc

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.