XSS-Scanner : Scanner That Detects Cross-Site Scripting Vulnerabilities In Website

XSS-Scanner is a cross-site scripting (XSS) is one of the most well known web application vulnerabilities. It even has a dedicated chapter in the OWASP Top 10 project and it is a highly chased vulnerability in bug bounty programs.

The scanner gets a link from the user and scan the website for XSS vulnerability by injecting malicious scripts at the input place. The injection happens in headless browser named Chromium and controlled by Puppeteer automation.

  • It works in two steps:
    • Find the target: In this first step, the tool tries to identify all the places at the page including injectable parameters in forms, URLs, headers, etc.
    • Test for XSS: For each place discovered in the previous step, the scanner will try to detect if the parameters are vulnerable to Cross-Site Scripting. The tool injects a piece of JavaScript code, including some special HTML characters (>, <, “, ‘) and it will try to see if they are returned in the response page without sanitization. If the tool detects at least one vulnerability, it will return that the website have XSS vulnerability.

Technologies

  • Puppeteer
  • Javascript
  • NodeJS
  • Express

How to install?

  • Clone the repository:

git clone https://github.com/MariaGarber/XSS-Scanner.git

  • Enter the clonned folder:

cd XSS-Scanner

  • Install the dependencies:

npm install

  • Run the application:

npm start

Open the browser at http://localhost:4000/

R K

Recent Posts

Awesome-Red-Team-Operation : A Comprehensive Toolkit For Advanced Cybersecurity

The "Awesome-Red-Team-Operation" repository is a comprehensive collection of tools designed to support red team operations,…

1 hour ago

Mise : A Versatile Development Environment Tool

Mise is a powerful and versatile tool designed to streamline and enhance the development environment…

1 hour ago

Tabby : Your Open-Source AI Coding Assistant

Tabby is an innovative, self-hosted AI coding assistant designed to provide developers with an open-source…

4 hours ago

GoRedOps : A Golang Arsenal For Red Teamers And Security Professionals

GoRedOps is a comprehensive collection of Golang-based projects tailored for red teamers and offensive security…

4 hours ago

Krueger : Exploiting Windows Defender To Neutralize EDR Systems

Krueger is a Proof of Concept (PoC) .NET post-exploitation tool designed to disable Endpoint Detection…

4 hours ago

Tokio : Unleashing Asynchronous Power In Rust For Network Applications

Tokio is a high-performance, asynchronous runtime designed for the Rust programming language. It provides the…

23 hours ago