Back to rankings

s0md3v/XSStrike

Python

Most advanced XSS scanner.

xssxss-scannerxss-exploitxss-bruteforcexss-pythonxss-detectionxsstrikewaf-detection
Star Growth
Stars
15.1k
Forks
2.1k
Weekly Growth
Issues
70
5k10k15k
Jun 2017Jun 2020Jul 2023Jul 2026
ArtifactsPyPIpip install xsstrike
README


XSStrike
XSStrike

Advanced XSS Detection Suite

multi xss

XSStrike WikiUsageFAQFor DevelopersCompatibilityGallery

XSStrike is a Cross Site Scripting detection suite equipped with four hand written parsers, an intelligent payload generator, a powerful fuzzing engine and an incredibly fast crawler.

Instead of injecting payloads and checking it works like all the other tools do, XSStrike analyses the response with multiple parsers and then crafts payloads that are guaranteed to work by context analysis integrated with a fuzzing engine. Here are some examples of the payloads generated by XSStrike:

}]};(confirm)()//\
<A%0aONMouseOvER%0d=%0d[8].find(confirm)>z
</tiTlE/><a%0donpOintErentER%0d=%0d(prompt)``>z
</SCRiPT/><DETAILs/+/onpoINTERenTEr%0a=%0aa=prompt,a()//

Apart from that, XSStrike has crawling, fuzzing, parameter discovery, WAF detection capabilities as well. It also scans for DOM XSS vulnerabilities.

Main Features

  • Reflected and DOM XSS scanning
  • Multi-threaded crawling
  • Context analysis
  • Configurable core
  • WAF detection & evasion
  • Outdated JS lib scanning
  • Intelligent payload generator
  • Handmade HTML & JavaScript parser
  • Powerful fuzzing engine
  • Blind XSS support
  • Highly researched work-flow
  • Complete HTTP support
  • Bruteforce payloads from a file
  • Powered by Photon, Zetanize and Arjun
  • Payload Encoding

Installation

Enter the following commands one by one in terminal:

git clone https://github.com/s0md3v/XSStrike
cd XSStrike
pip install -r requirements.txt --break-system-packages

Now, XSStrike can be used at any time as follows:

python xsstrike.py

Documentation

FAQ

DOM XSS

dom xss

Reflected XSS

multi xss

Crawling

crawling

Fuzzing

fuzzing

Bruteforcing payloads from a file

bruteforcing

Interactive HTTP Headers Prompt

headers

Hidden Parameter Discovery

arjun

Contribution, Credits & License

Ways to contribute

  • Suggest a feature
  • Report a bug
  • Fix something and open a pull request
  • Help me document the code
  • Spread the word

Licensed under the GNU GPLv3, see LICENSE for more information.

The WAF signatures in /db/wafSignatures.json are taken & modified from sqlmap. I extracted them from sqlmap's waf detection modules which can found here and converted them to JSON.
/plugins/retireJS.py is a modified version of retirejslib.

Related repositories
chaitin/SafeLine

SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

GoGo ModulesGNU General Public License v3.0firewallhttp-flood
ly.safepoint.cloud/fUxS0GW
21.9k1.4k
cure53/DOMPurify

DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

JavaScriptnpmApache License 2.0xsssanitizer
cure53.de/purify
17.2k857
Hacker0x01/hacker101

Source code for Hacker101.com - a free online web and mobile security class.

SCSSOthereducationhacking
hacker101.com
14.5k2.7k
nahamsec/Resources-for-Beginner-Bug-Bounty-Hunters

A list of resources for those interested in getting started in bug bounties

bug-bounty-huntershackers
12.1k2.1k
chaitin/xray

一款长亭自研的完善的安全评估工具,支持常见 web 安全问题扫描和自定义 poc | 使用之前务必先阅读文档

VueOthersecurityvulnerability
docs.xray.cool
11.7k1.9k
payloadbox/xss-payload-list

🎯 Cross Site Scripting ( XSS ) Vulnerability Payload List

MIT Licensexssxss-payloads
ismailtasdelen.medium.com
6.8k1.8k
reddelexc/hackerone-reports

Top disclosed reports from HackerOne

PythonPyPIwriteupshackerone
6.4k1.1k
dromara/lamp-cloud

[灯灯]微服务中后台快速开发平台,支持jdk21、jdk17、jdk8,专注于多租户、开放平台解决方案,亦可作为普通项目(非SaaS架构)的基础开发框架使用,目前已实现插拔式数据库隔离、SCHEMA隔离、字段隔离 等租户隔离方案。

JavaMavenApache License 2.0springcloudspringboot
tangyh.top
5.7k1.8k
hahwul/dalfox

🌙🦊 Dalfox is a powerful open-source XSS scanner and utility focused on automation.

Rustcrates.ioMIT Licensexsssecurity
dalfox.hahwul.com
5.2k546
s0md3v/AwesomeXSS

Awesome XSS stuff

JavaScriptnpmMIT Licensexsspayload
5.1k782
CHYbeta/Web-Security-Learning

Web-Security-Learning

HTMLsecuritysqlinjection
chybeta.github.io/2017/08/19/Web-Security-Learning/
4.3k1k
Arachni/arachni

Web Application Security Scanner Framework

RubyRubyGemsOtherarachnidom
arachni-scanner.com
4k786