Home

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.

PUBLISHED Reserved 2025-07-18 | Published 2025-07-24 | Updated 2026-04-08 | Assigner Wordfence




CRITICAL: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-434 Unrestricted Upload of File with Dangerous Type

Product status

Default status
unaffected

Any version
affected

Timeline

2025-07-18:Vendor Notified
2025-07-23:Disclosed

Credits

Youcef Hamdani finder

References

www.wordfence.com/...-4367-4f51-9dd7-22fbd655a03f?source=cve

plugins.trac.wordpress.org/...ss.wpb-customer-controller.php

wordpress.org/plugins/wpbookit/

plugins.trac.wordpress.org/changeset/3331165/

cve.org (CVE-2025-7852)

nvd.nist.gov (CVE-2025-7852)

Download JSON