WordPress User Extra Fields <= 16.7 - Authenticated (Subscriber+) Arbitrary File Deletion via save_fields Function

2025-10-30 18:34
Tonn

Strategic Overview

Status
Patched in 16.8
Affected Version<= 16.7
CVSS8.8High
CVECVE-2025-7846
View all WordPress User Extra Fields vulnerabilities

Vulnerability Overview

The WordPress User Extra Fields plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the save_fields() function in all versions up to, and including, 16.7. 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).

Technical Analysis

REMEDIATION: Update to version 16.8, or a newer patched version --- IDENTIFIER: CWE-36 (Absolute Path Traversal) The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as /abs/path that can resolve to a location that is outside of that directory.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C