Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-7852

CVE-2025-7852: WPBookit Plugin for WordPress RCE Flaw

CVE-2025-7852 is a remote code execution vulnerability in the WPBookit plugin for WordPress that allows unauthenticated attackers to upload malicious files. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-7852 Overview

The WPBookit plugin for WordPress contains a critical arbitrary file upload vulnerability in the image_upload_handle() function. This function, accessible via the add_new_customer route, fails to validate file types before processing uploads. The plugin directly calls move_uploaded_file() on client-supplied files without restricting allowed extensions or MIME types, and without sanitizing the filename. This flaw enables unauthenticated attackers to upload arbitrary files, including malicious PHP scripts, potentially leading to remote code execution on the affected WordPress site.

Critical Impact

Unauthenticated attackers can upload arbitrary files including web shells, enabling complete server compromise and remote code execution without any authentication requirements.

Affected Products

  • WPBookit WordPress Plugin versions up to and including 1.0.6
  • WordPress sites running vulnerable WPBookit versions

Discovery Timeline

  • 2025-07-24 - CVE-2025-7852 published to NVD
  • 2025-07-25 - Last updated in NVD database

Technical Details for CVE-2025-7852

Vulnerability Analysis

This vulnerability represents a classic CWE-434 (Unrestricted Upload of File with Dangerous Type) weakness in the WPBookit WordPress plugin. The vulnerable code path exists within the image_upload_handle() function located in the customer controller class. When processing image uploads through the add_new_customer route, the function accepts any file submitted by the client without performing security checks.

The absence of file type validation creates a direct path for attackers to upload executable content. Since WordPress plugins typically execute in the web root context, uploaded PHP files can be accessed directly via HTTP requests, providing immediate code execution capabilities.

Root Cause

The root cause stems from insecure file upload handling in the image_upload_handle() function within class.wpb-customer-controller.php. The function directly processes user-supplied files using move_uploaded_file() without implementing essential security controls:

  • No file extension whitelist or blacklist validation
  • No MIME type verification or content inspection
  • No filename sanitization to prevent path traversal or special characters
  • No authentication requirement to access the upload endpoint

This design allows any remote user to submit files with arbitrary extensions (such as .php) through the customer registration form.

Attack Vector

The vulnerability is exploitable over the network without authentication. An attacker can craft a malicious HTTP POST request to the add_new_customer endpoint, including a PHP web shell or other malicious script disguised as an image upload. Once uploaded, the attacker can access the file directly via the web server to execute arbitrary commands with the privileges of the web server process.

The attack flow involves:

  1. Identifying a WordPress site running vulnerable WPBookit versions
  2. Crafting a multipart form request targeting the add_new_customer route
  3. Uploading a PHP file containing malicious code
  4. Accessing the uploaded file via HTTP to trigger code execution

Since no authentication is required to access the upload functionality, the attack surface is significantly expanded.

Detection Methods for CVE-2025-7852

Indicators of Compromise

  • Unusual PHP files appearing in WordPress upload directories with non-standard naming patterns
  • Web server logs showing POST requests to the add_new_customer endpoint followed by requests to newly created files
  • Unexpected outbound network connections from the web server process
  • Modified .htaccess files or new PHP files in plugin directories

Detection Strategies

  • Monitor file creation events in WordPress upload directories, specifically for executable file types (.php, .phtml, .phar)
  • Implement web application firewall (WAF) rules to inspect multipart form uploads for PHP content signatures
  • Review web server access logs for patterns indicating exploitation attempts against the add_new_customer route
  • Deploy file integrity monitoring on the WordPress installation to detect unauthorized file additions

Monitoring Recommendations

  • Enable detailed logging for the WPBookit plugin and WordPress upload functionality
  • Configure alerts for new PHP file creation events in the wp-content/uploads directory tree
  • Monitor for web shell signatures and suspicious command execution patterns in server logs
  • Implement network traffic analysis to detect post-exploitation command and control communications

How to Mitigate CVE-2025-7852

Immediate Actions Required

  • Update WPBookit plugin immediately to the latest patched version
  • Review WordPress upload directories for any suspicious or unexpected PHP files
  • If unable to update immediately, disable or remove the WPBookit plugin until patching is possible
  • Scan the WordPress installation for web shells or other indicators of compromise

Patch Information

A security patch is available via WordPress Changeset 3331165. Users should update the WPBookit plugin to the latest available version through the WordPress admin dashboard or by downloading directly from the WordPress Plugin Directory.

For technical details on the vulnerable code, refer to the WordPress Plugin Code Review and the Wordfence Vulnerability Report.

Workarounds

  • Implement web server configuration to deny execution of PHP files in upload directories
  • Add .htaccess rules to block direct access to the add_new_customer endpoint if not needed
  • Deploy a WAF rule to filter file uploads containing PHP code signatures
  • Restrict the upload directory permissions to prevent script execution
bash
# Apache configuration to prevent PHP execution in uploads directory
<Directory "/var/www/html/wp-content/uploads">
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
    php_flag engine off
</Directory>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.69%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • WordPress Plugin Code Review

  • WordPress Changeset 3331165

  • WordPress Plugin Developer Info

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-3844: WordPress Breeze Cache Plugin RCE Flaw

  • CVE-2026-6518: WordPress CMP Plugin RCE Vulnerability

  • CVE-2026-5718: WordPress CF7 File Upload RCE Vulnerability

  • CVE-2026-5797: Quiz And Survey Master WordPress RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English