...

/

Cross-site Scripting Attack (XSS)

Cross-site Scripting Attack (XSS)

This lesson discusses the Cross-Site scripting attack.

What is a Cross-site Scripting attack?

The Cross-site Scripting attack, also known as XSS attack, is a kind of attack in which a malicious script is added to a website. When a user accesses this website then they accidentally run this malicious script, compromising their data as the attacker gets control of the user’s browser.

Types of Cross-site Scripting Attack

The XSS attack can be categorized into two types:

1. Stored Cross-site Scripting Attack

This is the most dangerous type of XSS attack because it is very easy for the attacker to inject a malicious script through this method. These attack targets websites that ...