The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-7443

CVE-2025-7443: BerqWP WordPress Plugin RCE Vulnerability

CVE-2025-7443 is a remote code execution flaw in BerqWP WordPress plugin that allows unauthenticated attackers to upload malicious files. This post covers technical details, affected versions, impact, and mitigation.

Published: April 21, 2026

CVE-2025-7443 Overview

The BerqWP – Automated All-In-One Page Speed Optimization for Core Web Vitals, Cache, CDN, Images, CSS, and JavaScript plugin for WordPress contains a critical arbitrary file upload vulnerability. The flaw exists due to missing file type validation in the store_javascript_cache.php file in all versions up to, and including, 2.2.42. This vulnerability enables unauthenticated attackers to upload arbitrary files to the affected WordPress site's server, potentially leading to remote code execution.

Critical Impact

Unauthenticated attackers can upload malicious files including PHP webshells to gain complete control of the WordPress installation and underlying server, without any authentication required.

Affected Products

  • BerqWP Plugin for WordPress versions up to and including 2.2.42
  • WordPress installations using vulnerable BerqWP plugin versions
  • Any web server hosting affected WordPress sites

Discovery Timeline

  • 2025-08-01 - CVE-2025-7443 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-7443

Vulnerability Analysis

This vulnerability is classified as CWE-434: Unrestricted Upload of File with Dangerous Type. The BerqWP plugin's JavaScript caching functionality fails to implement proper file type validation, creating a direct pathway for attackers to upload executable files to the server. Since the upload endpoint does not require authentication, any remote attacker can exploit this flaw over the network.

The attack requires no user interaction and can be performed by unauthenticated users. While the attack complexity is considered high, successful exploitation results in complete compromise of confidentiality, integrity, and availability of the affected system. An attacker who successfully uploads a malicious PHP file can execute arbitrary commands on the server with the privileges of the web server process.

Root Cause

The root cause lies in the store_javascript_cache.php API endpoint, which accepts file uploads without validating the file type, extension, or content. The plugin trusts user-supplied input and stores uploaded files directly to the server's file system without sanitization. This violates secure coding principles that mandate validation of all user-supplied data, particularly file uploads which can contain executable code.

The vulnerable code path allows files to be written to accessible locations within the WordPress installation directory structure, enabling uploaded PHP files to be subsequently accessed and executed via HTTP requests.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker can craft a malicious HTTP request to the store_javascript_cache.php endpoint, uploading a file with arbitrary content. The vulnerability can be exploited as follows:

  1. The attacker identifies a WordPress site running a vulnerable version of the BerqWP plugin
  2. A crafted HTTP POST request is sent to the vulnerable API endpoint (/wp-content/plugins/[plugin-path]/api/store_javascript_cache.php)
  3. The request contains a malicious file payload, such as a PHP webshell, with a .php extension
  4. The server accepts and stores the file without validation
  5. The attacker accesses the uploaded file via its URL, triggering code execution

The vulnerability allows full remote code execution once a malicious PHP file is uploaded and accessed. This can lead to complete server compromise, data exfiltration, deployment of malware, or use of the compromised server as a pivot point for further attacks.

Detection Methods for CVE-2025-7443

Indicators of Compromise

  • Unexpected PHP files appearing in WordPress cache directories or plugin folders
  • HTTP POST requests to store_javascript_cache.php from unknown or suspicious IP addresses
  • Web server logs showing access patterns to newly created PHP files in cache directories
  • Presence of webshell signatures or obfuscated PHP code in plugin directories

Detection Strategies

  • Monitor file system changes in WordPress plugin directories for new PHP file creation
  • Implement Web Application Firewall (WAF) rules to block suspicious file upload attempts to BerqWP plugin endpoints
  • Review web server access logs for unusual POST requests to store_javascript_cache.php
  • Deploy file integrity monitoring solutions to detect unauthorized file modifications in WordPress installations

Monitoring Recommendations

  • Enable detailed logging for all HTTP requests to WordPress plugin API endpoints
  • Configure alerts for PHP file creation events in plugin and cache directories
  • Implement real-time monitoring for webshell signatures and patterns in uploaded files
  • Regularly audit WordPress plugin versions against known vulnerability databases

How to Mitigate CVE-2025-7443

Immediate Actions Required

  • Update BerqWP plugin to a version newer than 2.2.42 that addresses this vulnerability
  • If patching is not immediately possible, temporarily disable the BerqWP plugin until a fix can be applied
  • Review web server logs and file systems for indicators of exploitation
  • Scan WordPress installations for unauthorized PHP files or webshells

Patch Information

The vulnerability has been addressed in the BerqWP plugin. According to the WordPress Plugin Changeset Update, modifications were made to the API registration to remediate this security issue. Site administrators should update to the latest available version of the plugin through the WordPress plugin repository.

For additional details on this vulnerability, consult the Wordfence Vulnerability Report and the WordPress Plugin Code Review showing the vulnerable code path.

Workarounds

  • Block access to store_javascript_cache.php via web server configuration (.htaccess for Apache or server block for Nginx)
  • Implement WAF rules to reject file upload requests to the vulnerable endpoint
  • Restrict PHP execution in cache and upload directories using server configuration
  • Consider temporary plugin deactivation if no critical dependency exists on the caching functionality
bash
# Apache .htaccess workaround to block access to vulnerable endpoint
<Files "store_javascript_cache.php">
    Order Allow,Deny
    Deny from all
</Files>

# Nginx configuration to block access
location ~* /wp-content/plugins/.*/api/store_javascript_cache\.php$ {
    deny all;
    return 403;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBerqwp

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.39%

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

  • WordPress Plugin Changeset Update

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2024-43160: BerqWP Code Injection RCE Vulnerability
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