Description
The UsersWP plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.2.65. This is due to insufficient validation of file-field values in the UsersWP_Validation::validate_fields() function (which falls through to sanitize_text_field() for fields of type 'file', leaving directory-traversal sequences intact) combined with the UsersWP_Forms::upload_file_remove() AJAX handler building the deletion target from the uploads basedir concatenated with the attacker-controlled metadata value without any realpath canonicalization or uploads-directory boundary check before calling unlink(). This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the affected site's server, including wp-config.
Published: 2026-07-09
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A directory traversal flaw in the UsersWP plugin allows an authenticated user with Subscriber or higher privileges to delete arbitrary files on the server, including critical configuration files such as wp-config.php, by manipulating the file upload field. The vulnerability arises from the plugin’s validation routine passing file values directly through a generic text sanitizer that preserves traversal characters, and an AJAX handler that concatenates the uploads base path with unfiltered metadata before calling unlink(). As a result, a malicious actor can target files outside the intended uploads directory, leading to data exposure or full server compromise.

Affected Systems

The flaw affects the UsersWP front‑end login, registration, profile and members directory plugin produced by stiofansisland. All releases up to and including version 1.2.65 are vulnerable; WordPress sites that have installed this plugin and contain any authenticated user with at least Subscriber level are at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity vulnerability. The EPSS score of less than 1% indicates a low probability of exploitation at this time, and the issue is not included in CISA KEV. Exploitation requires an attacker to authenticate as a Subscriber‑level account or higher and to craft a file upload request that directs the plugin to delete an arbitrary file on the server, including critical configuration files such as wp-config.php; the plugin performs no path canonicalization or boundary checks before calling unlink().

Generated by OpenCVE AI on July 26, 2026 at 14:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update UsersWP to version 1.2.66 or newer, which contains the fix for the directory‑traversal file‑deletion flaw.
  • If an immediate update is not available, disable or restrict the upload_file_remove AJAX endpoint so that only administrators can trigger file deletions, thereby reducing the attack surface of the vulnerability.
  • Configure file system permissions for the WordPress uploads directory so that the web server user lacks unlink rights outside the intended upload sub‑directory, adding an extra layer against arbitrary file deletion.

Generated by OpenCVE AI on July 26, 2026 at 14:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Stiofansisland
Stiofansisland userswp – Front-end Login Form, User Registration, User Profile & Members Directory Plugin For Wp
Wordpress
Wordpress wordpress
Vendors & Products Stiofansisland
Stiofansisland userswp – Front-end Login Form, User Registration, User Profile & Members Directory Plugin For Wp
Wordpress
Wordpress wordpress

Thu, 09 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 09 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description The UsersWP plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.2.65. This is due to insufficient validation of file-field values in the UsersWP_Validation::validate_fields() function (which falls through to sanitize_text_field() for fields of type 'file', leaving directory-traversal sequences intact) combined with the UsersWP_Forms::upload_file_remove() AJAX handler building the deletion target from the uploads basedir concatenated with the attacker-controlled metadata value without any realpath canonicalization or uploads-directory boundary check before calling unlink(). This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the affected site's server, including wp-config.
Title UsersWP <= 1.2.65 - Authenticated (Subscriber+) Arbitrary File Deletion via File Upload Field
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

Stiofansisland Userswp – Front-end Login Form, User Registration, User Profile & Members Directory Plugin For Wp
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-09T19:47:34.844Z

Reserved: 2026-06-27T16:40:24.809Z

Link: CVE-2026-13492

cve-icon Vulnrichment

Updated: 2026-07-09T19:47:31.219Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T15:00:05Z

Weaknesses
  • CWE-22

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