Skip to content

Latest commit

ย 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

XSS-Scanner

An advanced, automated Cross-Site Scripting (XSS) vulnerability scanner built with Python . It features automated link crawling, form discovery, GET/POST parameter extraction, and multi-vector payload injection to identify potential reflected and stored XSS vulnerabilities in web applications.


๐Ÿš€ Features

  • Automated Web Crawling & Discovery: Automatically parses and maps unique internal links, input fields, and HTML forms across target domains.
  • Dynamic Form Testing: Extracts POST forms, automatically populates standard fields (email, password, search inputs, etc.), and tests inputs for injection vulnerabilities.
  • Comprehensive XSS Payloads: Evaluates multiple critical attack vectors including standard script tags, case-insensitive variants, event handlers (onerror, onload, onfocus, ontoggle), SVG injections, and JavaScript pseudo-protocol execution.
  • Smart Pattern Analysis & Filtering: Leverages regex pattern matching and response comparison heuristics while automatically filtering out generic error codes (403, 404, 500) and common security challenges (CAPTCHAs, Cloudflare walls, CSRF token mismatches).
  • Dual Scan Modes:
    • Quick Scan: Fast triage mode targeting top parameters and payloads for rapid assessments.
    • Deep Scan: Intensive mode expanding coverage across broader page sets and comprehensive payload banks.

๐Ÿ“‹ Prerequisites & Requirements

  • Python 3.8+
  • Playwright for Python

Installation


pip install playwright
playwright install chromium

โš ๏ธ Disclaimer

This tool is created strictly for educational purposes, authorized security auditing, and bug bounty programs. Do not scan targets without explicit prior written authorization from the system owners. Unauthorized testing is illegal and unethical.