In both this and the following chapter, we're going to study a vulnerability called cross-site scripting (XSS) so that we know how to discover XSS vulnerabilities. But we will start off by learning about XSS attacks and XSS vulnerabilities. Then we will exploit the reflected vulnerability of XSS. Later, we will be looking at stored XSS, which is another vulnerability of XSS, and also try to launch an attack. Then we will look into exploiting XSS, and at the end of the chapter, we will learn how you can protect yourself against these vulnerabilities.
In this chapter, we will be covering the following topics:
- Introduction to XSS
- Reflected XSS
- Stored XSS
- XSS BeEF exploitation
- XSS protection