Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-13382 Overview
CVE-2025-13382 is an Insecure Direct Object Reference (IDOR) vulnerability affecting the Frontend File Manager Plugin for WordPress. The flaw exists in all versions up to and including 23.4. The plugin fails to validate file ownership before processing file rename requests through the /wpfm/v1/file-rename REST API endpoint. Authenticated attackers with Subscriber-level access or above can manipulate the fileid parameter to rename files uploaded by other users. The issue is tracked under CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Any authenticated user, including low-privileged subscribers, can rename files owned by other users, enabling integrity attacks against shared file management workflows on affected WordPress sites.
Affected Products
- Frontend File Manager Plugin for WordPress (nmedia-user-file-uploader) versions up to and including 23.4
- WordPress sites exposing the /wpfm/v1/file-rename REST API endpoint
- Multi-user WordPress deployments permitting Subscriber registration
Discovery Timeline
- 2025-11-25 - CVE-2025-13382 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-13382
Vulnerability Analysis
The Frontend File Manager Plugin exposes a REST API route at /wpfm/v1/file-rename to allow users to rename files they have uploaded. The handler accepts a fileid parameter from the request body and uses it directly to look up and rename the target file. The authorization check only verifies that the requester holds a valid authenticated session at Subscriber level or higher. The code path does not compare the requesting user's ID against the file's owner metadata before performing the rename operation.
Because file identifiers are predictable or enumerable, an attacker can iterate fileid values and rename files uploaded by any other user on the site. The attack produces an integrity impact without disclosing file contents or causing a denial of service. The vulnerable code paths are documented in the WordPress plugin repository and the related handler at line 52.
Root Cause
The root cause is a missing object-level authorization check [CWE-639]. The rename handler trusts the client-supplied fileid without verifying that the authenticated user owns the referenced file record. This is a classic Insecure Direct Object Reference pattern where the application exposes an internal object identifier and relies solely on session authentication rather than per-object ownership validation.
Attack Vector
Exploitation requires an authenticated account at Subscriber level, which is the lowest WordPress role and is often open to self-registration. The attacker sends an authenticated HTTP POST request to the /wpfm/v1/file-rename REST endpoint supplying a target fileid and a new file name. The server executes the rename on the file owned by another user. Attackers can enumerate fileid values sequentially to rename files across the entire site, disrupting file retrieval workflows and breaking any external references to the original filenames. See the Wordfence vulnerability report for additional detail.
// No verified public exploit code is available.
// Exploitation sends an authenticated POST request to
// /wp-json/wpfm/v1/file-rename with a fileid belonging to another user
// and a new filename value. The handler performs the rename without
// validating ownership of the referenced fileid.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-13382
Indicators of Compromise
- Unexpected renames of files in the Frontend File Manager upload directory not initiated by the file owner
- REST API access log entries for POST /wp-json/wpfm/v1/file-rename originating from Subscriber accounts
- Sequential or enumerated fileid values in request bodies to the file-rename endpoint from a single session
- User complaints about missing or renamed uploaded files that remain accessible under new names
Detection Strategies
- Review web server and WordPress access logs for calls to /wp-json/wpfm/v1/file-rename and correlate the authenticated user ID with the owner of the referenced fileid
- Flag any instance where the requesting user ID does not match the file owner recorded in the plugin's database tables
- Monitor for high-frequency rename requests from a single account, indicating automated enumeration
Monitoring Recommendations
- Enable WordPress REST API request logging and forward it to centralized log analysis for retention and alerting
- Alert on new Subscriber-level account creation followed shortly by requests to plugin REST endpoints
- Baseline normal rename volume per user and alert on deviations exceeding the baseline
How to Mitigate CVE-2025-13382
Immediate Actions Required
- Update the Frontend File Manager Plugin to a version later than 23.4 as soon as the vendor releases a patched release
- Audit WordPress user accounts and remove unused or suspicious Subscriber-level accounts
- Disable self-registration on sites that do not require it by unchecking "Anyone can register" in WordPress General Settings
- Review file metadata and recent rename activity for signs of unauthorized modification
Patch Information
At the time of publication, the vulnerability is documented against versions up to and including 23.4. The plugin's 23.5 branch reflects ongoing changes to the REST handler. Site administrators should consult the Wordfence advisory for the fixed version and upgrade accordingly.
Workarounds
- Deactivate the Frontend File Manager Plugin until a fixed version is installed if the plugin is not business-critical
- Restrict access to the /wp-json/wpfm/v1/file-rename endpoint using a web application firewall rule that blocks requests from accounts below Editor level
- Enforce stronger role requirements for file upload functionality through a role-management plugin
# Example WAF rule concept to block subscriber-level access to the vulnerable endpoint
# Adjust to your WAF syntax (ModSecurity example)
SecRule REQUEST_URI "@contains /wp-json/wpfm/v1/file-rename" \
"id:1013382,phase:2,deny,status:403,log,\
msg:'CVE-2025-13382 Frontend File Manager rename blocked'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

