Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/bytereaper77/cve-2025-7840
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationArchived
GitHubbytereaper77/cve-2025-7840

CVE-2025-7840

Proof‑of‑concept exploit for CVE‑2025‑7840 that injects malicious payloads into the Firstname parameter of a reservation form to trigger XSS

View Repository
2321 year agoNot yet reviewed
Share

XSS Exploit for CVE-2025-7840

Author: Byte Reaper (@ByteReaper0)

Description

Proof‑of‑concept exploit for CVE-2025-7840, targeting a vulnerable web application endpoint that fails to sanitize user input on the Firstname parameter of a reservation form. By crafting a GET request to:

/index.php?page=reserve&Firstname=<payload>&Lastname=test

an attacker can inject and execute arbitrary JavaScript in the victim’s browser when the response is rendered.

Features

  • Inject custom payloads with -b option
  • Handle cookie-based sessions via -c option
  • Verbose logging for request/response analysis (-v)
  • Built-in set of common XSS payloads

Requirements

  • Linux or macOS
  • GCC (or compatible C compiler)
  • libcurl development headers
  • argparse library for C

Installation

  1. Compile the exploit:

    gcc -o exploit exploit.c argparse.c -lcurl 
    

Usage

sudo ./exploit -u <TARGET_URL> [options]

Options

FlagDescription
-u URLTarget base URL (e.g. http://victim.local)
-b PAYLOADCustom XSS payload to inject
-c FILECookie jar file to use for session handling
-vVerbose mode (show request/response details)

Examples

  • Run default payloads against a target:

    sudo ./exploit -u http://victim.local
    
  • Use a custom payload:

    sudo ./exploit -u http://victim.local -b "<script>alert(\'PWNED\')</script>"
    
  • Include session cookies and verbose output:

    sudo ./exploit -u http://victim.local -c cookies.txt -v
    

Disclaimer

This code is provided for educational and testing purposes only. Unauthorized use against systems you do not own or have explicit permission to test is illegal and unethical.

References

  • CVE-2025-7840: XSS in reservation form
  • Author Telegram: @ByteReaper0

LICENSE:

MIT

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    968
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    556
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    347
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    319
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    297

Explore all tools

Browse our collection of tools

View all tools →