CVE-2025-7852CWE-434

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

Critical · published July 24, 2025

CVSS v3.1
9.8
EPSS
2%
Percentile
74.5
In the wild
Unconfirmed
What it is

🔥 The WPBookit plugin for WordPress has a gaping hole that allows anyone to upload dangerous files — no authentication needed! Think of it like a restaurant allowing customers to deliver any dish they want directly into the kitchen, with no checks on whether it's safe to eat. Just as an unvetted dish could spoil the entire meal, unvalidated uploads can compromise your website! An unauthenticated attacker could upload malicious files to your server, potentially leading to remote code execution. This could mean total control over your website and sensitive data being exposed — it's absolutely devastating!

Put simply

Think of it like a restaurant allowing customers to deliver any dish they want directly into the kitchen, with no checks on whether it's safe to eat. Just as an unvetted dish could spoil the entire meal, unvalidated uploads can compromise your website! This vulnerability arises due to the image_upload_handle() function allowing arbitrary file uploads without proper validation of file types or sanitization of filenames, creating an easy way for attackers to exploit the system.

What to do

An unauthenticated attacker could upload malicious files to your server, potentially leading to remote code execution. This could mean total control over your website and sensitive data being exposed — it's absolutely devastating! Patch your WPBookit plugin immediately to version 1.0.7 or later to fix this issue. Additionally, review your file upload controls to ensure only safe file types are permitted, and implement filename sanitization to protect against malicious content. You've got this! Follow these steps, and you'll keep your site secure and running smoothly! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01525 · 74.5th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-07-24T04:24Z
EPSS history
Timeline
  • 24 JUL 04:24Z
    WPBookit <= 1.0.6 - Unauthenticated Arbitrary File Upload via image_upload_handle Function
    cvelistv5