Relocate Upload Security & Risk Analysis

wordpress.org/plugins/relocate-upload

Wordpress uploads media to one pre-set folder. Relocate Upload lets you switch media to other folders.

100 active installs v0.24.1 PHP + WP 2.8+ Updated Feb 8, 2020
adminfoldermoverelocateupload
55
C · Use Caution
CVEs total2
Unpatched1
Last CVEJun 27, 2025
Safety Verdict

Is Relocate Upload Safe to Use in 2026?

Use With Caution

Score 55/100

Relocate Upload has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

2 known CVEs 1 unpatched Last CVE: Jun 27, 2025Updated 6yr ago
Risk Assessment

The "relocate-upload" plugin, version 0.24.1, presents a mixed security posture. While it demonstrates good practices by utilizing prepared statements for all SQL queries and including a nonce check on its single AJAX handler, significant concerns arise from its output escaping and vulnerability history. The static analysis reveals that 100% of output is not properly escaped, which could lead to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is directly reflected in the output. Furthermore, the plugin has a history of two known CVEs, with one critical vulnerability remaining unpatched, specifically related to Cross-Site Request Forgery (CSRF) and PHP Remote File Inclusion. This historical pattern suggests a recurring weakness in secure coding practices, particularly concerning input validation and file handling, and the unpatched critical vulnerability is a severe immediate risk.

While the attack surface is limited and most entry points have some form of protection, the lack of proper output escaping and the unpatched critical vulnerability significantly elevate the risk associated with this plugin. The vulnerability history, including a critical PHP Remote File Inclusion flaw, is particularly worrying and indicates a potential for severe compromise if exploited. Therefore, users should exercise extreme caution with this plugin, prioritize updating to a version that addresses the known critical vulnerability, and ideally, consider alternatives until its security posture is demonstrably improved.

Key Concerns

  • Unpatched Critical CVE
  • 100% Unescaped Output
  • Flow with unsanitized paths
  • Historical PHP RFI vulnerability
  • Historical CSRF vulnerability
Vulnerabilities
2 published

Relocate Upload Security Vulnerabilities

CVEs by Year

1 CVE in 2011
2011
1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Critical
1
Medium
1

2 total CVEs

CVE-2025-53315medium · 4.3Cross-Site Request Forgery (CSRF)

Relocate Upload <= 0.24.1 - Cross-Site Request Forgery

Jun 27, 2025Unpatched
CVE-2012-1205critical · 9.8Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Relocate Upload < 0.20 - Remote File Inclusion

Sep 19, 2011 Patched in 0.20 (4509d)
Version History

Relocate Upload Release Timeline

Code Analysis
Analyzed Mar 16, 2026

Relocate Upload Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
4 prepared
Unescaped Output
6
0 escaped
Nonce Checks
1
Capability Checks
0
File Operations
2
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared4 total queries

Output Escaping

0% escaped6 total outputs
Data Flows · Security
1 unsanitized

Data Flow Analysis

3 flows1 with unsanitized paths
relocate_upload_js (relocate-upload.php:99)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Relocate Upload Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_relocate_uploadrelocate-upload.php:24
WordPress Hooks 6
actionadmin_enqueue_scriptsrelocate-upload.php:23
actionadmin_headrelocate-upload.php:98
filterposts_whererelocate-upload.php:157
filterattachment_fields_to_editrelocate-upload.php:182
actionadmin_menurelocate-upload.php:216
filterwp_get_attachment_urlrelocate-upload.php:343
Maintenance & Trust

Relocate Upload Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedFeb 8, 2020
PHP min version
Downloads15K

Community Trust

Rating68/100
Number of ratings7
Active installs100
Developer Profile

Relocate Upload Developer Profile

alanft

2 plugins · 110 total installs

58
trust score
Avg Security Score
70/100
Avg Patch Time
4018 days
View full developer profile
Detection Fingerprints

How We Detect Relocate Upload

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/relocate-upload/js/relocate-upload.js
Script Paths
/wp-content/plugins/relocate-upload/js/relocate-upload.js
Version Parameters
relocate-upload/js/relocate-upload.js?ver=

HTML / DOM Fingerprints

Data Attributes
media_idru_folder
JS Globals
ru_request_move
FAQ

Frequently Asked Questions about Relocate Upload