ABSTRACT

The XSS attack is the only one web application vulnerability that has been identified during static testing as well as during dynamic testing of the web applications. This provides an estimate of how prevalent and dangerous this attack would be. Therefore, in this chapter, we have proposed an approach that assists in defending against the XSS attack. Basically, it is based on context-based sanitization method on malicious scripts. We have optimized the performance by implementing clustering on the scripts. Let’s discuss this approach in detail.