Automated Threat Modeling

BerqWP WordPress Plugin CVE-2025-7443 Arbitrary File Upload: Brief Summary and Technical Review

A brief summary and technical review of CVE-2025-7443, a high-severity arbitrary file upload vulnerability in the BerqWP WordPress plugin up to version 2.2.42. Unauthenticated attackers can upload arbitrary files through store_javascript_cache.php, which can lead to remote code execution. Covers affected versions, technical details, and references.

CVE Analysis

7 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-07-31

BerqWP WordPress Plugin CVE-2025-7443 Arbitrary File Upload: Brief Summary and Technical Review
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

An attacker with no credentials can get remote code execution on a WordPress site running BerqWP by uploading a malicious file. BerqWP is a widely used performance optimization plugin, so many production websites are at risk of full compromise until they patch.

BerqWP is an all-in-one WordPress plugin for automated page speed optimization. It bundles caching, CDN, image, CSS, and JavaScript optimization, and a substantial number of WordPress sites use it to improve Core Web Vitals and overall performance. That reach, along with the plugin's place in each site's performance workflow, makes a flaw in its code especially costly for the WordPress ecosystem.

Technical Information

CVE-2025-7443 is an arbitrary file upload vulnerability in the store_javascript_cache.php endpoint of the BerqWP plugin. The endpoint exists to cache JavaScript files as part of the plugin's optimization process, but it does no file type validation at all. Attackers can upload files of any type to the server, including executable scripts.

The root cause is that the upload logic checks neither file extensions nor MIME types. An unauthenticated attacker can send a crafted HTTP POST request to the endpoint with a malicious file in the payload, such as a PHP web shell. The plugin stores the uploaded file in a web-accessible directory, so the attacker can then request and execute it remotely, which gives them arbitrary code execution on the server.

The issue is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). It affects all plugin installations up to and including version 2.2.42. With no authentication and no restriction on what can be uploaded, exploitation is trivial and the impact is high.

Relevant code and endpoint references:

Affected Systems and Versions

  • Product: BerqWP – Automated All-In-One Page Speed Optimization for Core Web Vitals, Cache, CDN, Images, CSS, and JavaScript (WordPress plugin)
  • Affected versions: All versions up to and including 2.2.42
  • Vulnerable endpoint: store_javascript_cache.php
  • Authentication required for exploitation: none

Vendor Security History

  • An earlier arbitrary file upload vulnerability in BerqWP version 1.7.6 (Wordfence advisory)
  • Recurring problems with file upload handling and input validation
  • Actively developed, with multiple security flaws over time

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization