
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-7640 is a Cross-Site Request Forgery (CSRF) vulnerability in the hiWeb Export Posts plugin for WordPress that enables unauthenticated attackers to delete arbitrary files on the server, potentially leading to remote code execution. All versions up to and including 0.9.0.0 are affected. The vulnerability was published on July 24, 2025, and carries a CVSS v3.1 base score of 8.1 (High) (Red Hat Advisory, Wordfence).
The root cause is missing or incorrect nonce validation in the tool-dashboard-history.php file of the hiWeb Export Posts plugin (CWE-22: Path Traversal). Because no CSRF token is verified, an attacker can craft a malicious request that, when triggered by a logged-in administrator (e.g., via a deceptive link), causes the server to delete arbitrary files. Deletion of critical files such as wp-config.php can trigger WordPress's installation wizard, enabling an attacker to reconfigure the database and achieve remote code execution (Red Hat Advisory).
Successful exploitation allows an attacker to delete arbitrary files on the WordPress server, with high integrity and availability impact. The most severe scenario involves deleting wp-config.php, which can lead to full site compromise and remote code execution by allowing an attacker to reconfigure the WordPress installation. Confidentiality impact is rated none, but the potential for complete site takeover and data loss is significant (Red Hat Advisory, Wordfence).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure. The attack requires user interaction — specifically, tricking a site administrator into clicking a malicious link — but requires no privileges or authentication from the attacker. The EPSS score is 0.00267 (approximately 0.27%), indicating a low but non-negligible probability of exploitation in the near term. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Red Hat Advisory, Wordfence).
tool-dashboard-history.php endpoint with parameters specifying the target file to delete (e.g., wp-config.php), exploiting the absent nonce validation.wp-config.php is deleted, WordPress enters setup mode; the attacker navigates to the WordPress installation wizard and reconfigures the database connection to gain administrative access and execute arbitrary code (Red Hat Advisory).tool-dashboard-history.php from unusual referrers or external origins; requests originating from non-administrative IP addresses targeting file deletion endpoints.wp-config.php or other critical WordPress core/configuration files; unexpected deletion timestamps on server files correlating with administrator login sessions.wp-admin/setup-config.php or wp-admin/install.php access).The primary remediation is to update the hiWeb Export Posts plugin to a version beyond 0.9.0.0 that addresses the nonce validation issue. As interim mitigations, administrators should implement a Web Application Firewall (WAF) to detect and block CSRF attempts, restrict access to the WordPress admin panel by IP where possible, and educate administrators about the risks of clicking unsolicited links. Regularly auditing installed plugins and removing unused ones is also recommended (Red Hat Advisory, Wordfence).
Wordfence included CVE-2025-7640 in its weekly WordPress vulnerability report for the period of July 21–27, 2025, highlighting it as a notable CSRF-to-file-deletion risk. Red Hat also tracked the advisory. No significant broader media coverage or notable researcher commentary beyond standard vulnerability aggregation has been observed (Wordfence, Red Hat Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."