CVE-2025-6058 affects the WPBookit plugin for WordPress in all versions up to and including 1.0.4. The vulnerability is caused by missing file type validation in the image_upload_handle() function, which is reachable via the 'add_booking_type' route. Because uploaded files are not properly restricted to safe types, an unauthenticated attacker can submit arbitrary files to the server. In a typical WordPress deployment, this can allow upload of executable PHP content or other attacker-controlled files, creating a path to remote code execution depending on server configuration and upload location.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository provides a working exploit for CVE-2025-6058, a critical unauthenticated arbitrary file upload vulnerability in the WPBookit WordPress plugin (versions <= 1.0.4). The main exploit script (CVE-2025-6058.py) is a Python tool that automates the exploitation process: it first checks the plugin version by fetching the plugin's README.txt, then uploads a minimal PHP web shell (ghost_shell.php) via a vulnerable AJAX endpoint (/wp-admin/admin-ajax.php) using a crafted POST request. If successful, the script provides an interactive shell interface, allowing the attacker to execute arbitrary commands on the target server. The repository also includes a Nuclei YAML template (CVE-2025-6058.yaml) for automated detection and exploitation. The exploit is unauthenticated, requires no credentials, and targets a specific file upload vulnerability in the plugin. The structure is clear and operational, with the main entry point being the Python script.
This repository contains a Python exploit script (CVE-2025-6058.py) targeting the WPBookit WordPress plugin (versions <= 1.0.4) for an unauthenticated arbitrary file upload vulnerability (CVE-2025-6058). The exploit works by first verifying the plugin version via the public README.txt file, then uploading a simple PHP web shell to the server using the vulnerable 'add_booking_type' route through the /wp-admin/admin-ajax.php endpoint. If successful, the script confirms the shell's presence and provides its path, allowing the attacker to execute arbitrary commands remotely via HTTP requests. The repository also includes a README.md with detailed usage instructions, a requirements.txt listing the 'requests' library, and a LICENSE file. The exploit is operational, providing a working payload and automated exploitation process, but is not part of a larger framework.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
4 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.