Find Your XSS Bug Bounty With XSS-LOADER


Finding Cross Site Scripting (XSS) vulnerabilities using different types of payloads is now easy with this XSS-LOADER tool. When performing XSS Bug Bounty projects, user tend to find online tool to encode XSS payloads. This tool has inbuilt functionally to encode XSS payloads to bypass WAF (Web Application Firewall). This tool also have a feature to scan target URL for XSS. As you know still today we can see news about XSS vulnerability in many Live Applications.

Today we will walk through this tool installation steps and usage on how this can be used in your setup.


  • OS: Kali Linux 2019.3 64 bit
  • Kernel version: 5.2.0

Installation Steps

[email protected]:/home/iicybersecurity# git clone
Cloning into 'XSS-LOADER'...
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 56 (delta 20), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (56/56), 43.78 KiB | 249.00 KiB/s, done.
Resolving deltas: 100% (20/20), done.
  • Use the cd command to enter into XSS – Loader directory
[email protected]:/home/iicybersecurity# cd XSS-LOADER/
[email protected]:/home/iicybersecurity/XSS-LOADER#
  • Use this command to install the requirements by using the command pip3 install -r requirements.txt
[email protected]:/home/iicybersecurity/XSS-LOADER# pip3 install -r requirements.txt
Collecting beautifulsoup4==4.8.2 (from -r requirements.txt (line 1))
  Downloading (106kB)
    100% |████████████████████████████████| 112kB 710kB/s
Collecting bs4==0.0.1 (from -r requirements.txt (line 2))
  Using cached
Collecting certifi==2019.11.28 (from -r requirements.txt (line 3))
  Cache entry deserialization failed, entry ignored
  Downloading (156kB)
    100% |████████████████████████████████| 163kB 2.2MB/s
Requirement already satisfied: chardet==3.0.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (3.0.4)
Collecting idna==2.9 (from -r requirements.txt (line 5))
  Cache entry deserialization failed, entry ignored
  Downloading (58kB)
    100% |████████████████████████████████| 61kB 4.0MB/s
Requirement already satisfied: lxml==4.5.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 6)) (4.5.0)
Collecting requests==2.23.0 (from -r requirements.txt (line 7))
  Cache entry deserialization failed, entry ignored
  Downloading (58kB)
    100% |████████████████████████████████| 61kB 1.9MB/s
Collecting soupsieve==2.0 (from -r requirements.txt (line 8))
Collecting urllib3==1.25.8 (from -r requirements.txt (line 9))
  Cache entry deserialization failed, entry ignored
  Downloading (125kB)
    100% |████████████████████████████████| 133kB 2.9MB/s
  • Now, use this command to launch the tool. python3
XSS – Loader Tool
  • In the above picture, we see different types of payloads to find out the vulnerability and two different scanners.
  • We will select option 7 XSS Scanner.
XSS Scanner
  • It will prompt you to select different types of payloads. Which are:
  • Basic Payload: In the basic payload it contains script tags.
  • DIV Payload: DIV is also called divisions. This div divides HTML documents into sessions. DIV tag is just like a container it contains all the data related to the webpage. Now, in the XSS -Loader tool we also have DIV payload option.
  • Image Payload: If we want to insert an image in the HTML page we use “IMG tag”.
  • Body Payload: What we see the content on the webpage that all comes under body tag.
  • SVG Payload: SVG is Scalable vector graphics. We use this to defined 2D vector-based graphic on the webpage.
  • Mixed Payload: We use this option to inject the payload for all the tags.
  • Enter File Path: We use this option by specifying the payload path in a file, like /home/iicybersecurity/XSS-LOADER/img.txt
  • After choosing the Body Payload option, we ran the tool to find vulnerabilities in URL we specified in Target URL option, in above screen shot.
  • Here, we found a XSS vulnerability in the target URL after scanning. Now let’s check the URL, by opening it in browser.
Vulnerability Found

XSS Dock Finder

  • We use this dock finder to list out the vulnerable pages on internet using an XSS – loader.
XSS Dork Finder
  • In the above picture, we have selected an option 8 (XSS Dork Finder).
  • Now, we have to enter the query like (inurl:”search.HTML?q=”) this query will list all the URLs from the internet that might be vulnerable.
  • Let’s search by selecting a particular URL.


  • In this tool we have different types of Encodes, which are used to encode payloads as per their selection. These encoder can be used to bypass the WAF firewall.


So, we saw how to find out the vulnerable URLs and Vulnerabilities in a webpage by injecting the XSS payloads.

You Might Also Like