Top 25 XSS Bug Bounty Reports
In this article, we will discuss Cross-Site Scripting (XSS) vulnerability, how to find one and present 25 disclosed reports based on this issue.
What is XSS?
XSS stands for Cross-Site Scripting and it is a web-based vulnerability in which an attacker can inject malicious scripts (usually JavaScript) in the application. A common impact of this one is that the attackers can steal sensitive cookies such as session tokens.
Types of XSS
- Stored/Persistent XSS: malicious scripts are stored in the application, for example in a comment section.
- Reflected/Non-persistent XSS: malicious scripts are returned back to the user, for example in a search query.
- DOM-Based/Client-Side XSS: malicious scripts are injected in the Document Object Model, being executed on the client-side and the webserver response isn’t modified.
- Self-XSS: the victim is tricked to run malicious scripts on their side, for example in their web developer console.
How to find XSS in a bug bounty program
First, identify all the user inputs in the application, then play with them. Send malicious scripts inside the input, see how the server responds, try to bypass the restrictions such as tag…