Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/wpbookit/trunk/core/admin/classes/con
- https://plugins.trac.wordpress.org/changeset/3331165/
- https://wordpress.org/plugins/wpbookit/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0bb11092-4367-4f51-9dd
FAQ
What is CVE-2025-7852?
CVE-2025-7852 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 versi...
How severe is CVE-2025-7852?
CVE-2025-7852 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-7852?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.