Description
The WPBookit plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the image_upload_handle() function hooked via the 'add_booking_type' route in all versions up to, and including, 1.0.4. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| iqonicdesign | WPBookit | ≤ 1.0.4 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
0xgh057r3c0n/CVE-2025-6058 ★ 1 · Jul 22, 2025
WordPress WPBookit ≤ 1.0.4 Unauthenticated File Upload Exploit
-
JayVillain/Scan-CVE-2025-6058 ★ 0 · Jul 13, 2025
-
Nxploited/CVE-2025-6058 ★ 0 · Jul 12, 2025
WPBookit <= 1.0.4 - Unauthenticated Arbitrary File Upload
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WPBookit <= 1.0.4 - Unauthenticated Arbitrary File Upload http/cves/2025/CVE-2025-6058.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1d779ad1-fdbe-444c-85c5-99146a1a03d8?source=cve
- https://plugins.trac.wordpress.org/browser/wpbookit/trunk/core/admin/classes/controllers/class.wpb-booking-type-controller.php#L455
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3314288%40wpbookit&new=3314288%40wpbookit&sfp_email=&sfph_mail=