Before we understand the kinds of xss, we need to know what’s Same-Origin policy first because how much information can be got with xss is affected by the policy!
3 kinds of XSS:
- reflected xss:
refered from the example in the The web application hacker’s handbook
url/index.php?message=an+error+occured // the html page show <p>an error occured</p>