Description
The Home Villas | Real Estate WordPress Theme theme for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'wp_rem_cs_widget_file_delete' function in all versions up to, and including, 2.8. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Published: 2025-07-02
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Home Villas WordPress theme contains a flaw in the wp_rem_cs_widget_file_delete function that performs insufficient file path validation. This permits an attacker with authenticated Subscriber‑level or higher access to delete arbitrary files on the web server, exposing the victim to the possibility of remote code execution should a critical file such as wp‑config.php be removed. The weakness is a path traversal issue, categorised as CWE‑22.

Affected Systems

The vulnerability applies to the Chimp Group Home Villas Real Estate WordPress Theme in all releases up to and including version 2.8. Any WordPress installation using these theme files is affected.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high severity, and the EPSS score of <1% indicates a low likelihood of exploitation in the wild. Because the flaw requires authentication at the Subscriber level or higher, an attacker needs valid credentials but can then delete arbitrary files. The vulnerability is not currently listed in the CISA KEV catalogue, suggesting limited known exploitation, yet its impact warrants timely remediation.

Generated by OpenCVE AI on June 18, 2026 at 06:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Home Villas theme to a version newer than 2.8 that removes the vulnerable file deletion function.
  • If an upgrade is not feasible, revoke or remove the wp_rem_cs_widget_file_delete functionality from the theme, for example by disabling or commenting out the function in the theme files, thereby preventing authenticated users from executing it.
  • Apply stricter file system permissions and enforce path validation by ensuring that any file deletion code checks the full canonical path against a whitelist of allowed directories before performing the operation.

Generated by OpenCVE AI on June 18, 2026 at 06:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19678 The Home Villas | Real Estate WordPress Theme theme for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'wp_rem_cs_widget_file_delete' function in all versions up to, and including, 2.8. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
History

Wed, 02 Jul 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Jul 2025 04:00:00 +0000

Type Values Removed Values Added
Description The Home Villas | Real Estate WordPress Theme theme for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'wp_rem_cs_widget_file_delete' function in all versions up to, and including, 2.8. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Title Home Villas | Real Estate WordPress Theme <= 2.8 - Authenticated (Subscriber+) Arbitrary File Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:15:41.151Z

Reserved: 2025-05-20T16:58:26.942Z

Link: CVE-2025-5014

cve-icon Vulnrichment

Updated: 2025-07-02T13:05:20.405Z

cve-icon NVD

Status : Deferred

Published: 2025-07-02T04:15:56.833

Modified: 2026-06-17T09:47:02.047

Link: CVE-2025-5014

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T07:00:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')