CVE-2025-7852
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_new_customer' route in all versions up to, and including, 1.0.6. The plugin’s image‐upload handler calls move_uploaded_file() on client‐supplied files without restricting allowed extensions or MIME types, nor sanitizing the filename. 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 WordPress components
-
WPBookit Plugin · wpbookitUp to and including 1.0.6View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- iqonicdesign WPBookit — Up to and including 1.0.6
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpbookit/trunk/core/admin/classes/controllers/class.wpb-customer-controller.php#L362
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3331165/
- wordpress.org https://wordpress.org/plugins/wpbookit/#developers
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/0bb11092-4367-4f51-9dd7-22fbd655a03f?source=cve
- nvd.nist.gov Official NVD record