CVE-2025-7852 WPBookit <= 1.0.6 - Unauthenticated Arbitrary File Upload via image_upload_handle Function

Critical 9.8 Published Updated

Unauthenticated attackers can upload arbitrary files via the image_upload_handle function, potentially leading to remote code execution on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-7852?

CVE-2025-7852 is a critical vulnerability in iqonicdesign WPBookit, published on 24 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-434

Which versions are affected by CVE-2025-7852?

How do I fix CVE-2025-7852?

No fix has been published for CVE-2025-7852 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-7852 being exploited?

There is no known exploitation of CVE-2025-7852 in the wild and no public exploit code.

Sources

Also known as GHSA-c6g2-84gg-hc38.

Is CVE-2025-7852 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free