Identifying cross-site scripting vulnerabilities in view markup files (.cshtml, .aspx files) in web applications
Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications. XSS enables attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy. Cross-site scripting carried out on websites accounted for roughly 84% of all security vulnerabilities documented by Symantec as of 2007. Their effect may range from a petty nuisance to a significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site's owner.
You can read more details about cross-site scripting at https://en.wikipedia.org/wiki/Cross-site_scripting. In this section, we will walk you through the rules in PUMA scan analyzers to catch security vulnerabilities...