wp_upload_rename Security & Risk Analysis

wordpress.org/plugins/wp-upload-rename

Change upload filename to random characters / random numbers / date / other by yourself.

200 active installs v1.2 PHP + WP 3.0+ Updated May 5, 2019
adminimageimagesmediaupload
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is wp_upload_rename Safe to Use in 2026?

Generally Safe

Score 85/100

wp_upload_rename has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The wp-upload-rename v1.2 plugin exhibits a generally good security posture, primarily due to a lack of identified attack surface and the use of prepared statements for any potential SQL queries. The absence of known CVEs and a clean vulnerability history further contributes to a perception of safety. However, a significant concern arises from the complete lack of output escaping, with 0% of identified outputs being properly sanitized. This represents a considerable risk, as it opens the door to various cross-site scripting (XSS) vulnerabilities if any user-supplied data is ever rendered on the frontend without sanitization.

The static analysis reveals no critical issues like dangerous functions, unsanitized taint flows, or raw SQL. The presence of a capability check is a positive sign for privilege escalation prevention. Despite these strengths, the unescaped output is a critical weakness that cannot be overlooked. The plugin's vulnerability history is clean, which is encouraging, but it doesn't negate the immediate risks identified in the code analysis. In conclusion, while the plugin avoids common pitfalls like unpatched vulnerabilities and a broad attack surface, the complete failure to escape output presents a substantial risk that requires immediate attention.

Key Concerns

  • 0% output escaping
Vulnerabilities
None known

wp_upload_rename Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

wp_upload_rename Release Timeline

v1.2Current
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
Code Analysis
Analyzed Mar 16, 2026

wp_upload_rename Code Analysis

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

Output Escaping

0% escaped20 total outputs
Attack Surface

wp_upload_rename Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_initwp_upload_rename.php:28
actionadmin_menuwp_upload_rename.php:29
filterwp_handle_upload_prefilterwp_upload_rename.php:32
actioninitwp_upload_rename.php:222
Maintenance & Trust

wp_upload_rename Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedMay 5, 2019
PHP min version
Downloads5K

Community Trust

Rating100/100
Number of ratings5
Active installs200
Developer Profile

wp_upload_rename Developer Profile

Nolan Chou

1 plugin · 200 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect wp_upload_rename

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

Asset Fingerprints

HTML / DOM Fingerprints

HTML Comments
<!-- Rename: <input id="wp_upload_rename_ui_input" onkeyup="_wp_upload_rename_set(this)" type="text" style="width:300px;" value="" /> <a href="javascript:_wp_upload_rename_help();">help?</a> --><!-- You can rename your upload filename by this input.<br />If filename is already exists, filename will auto set "filename1", "filename2" and so on.<br />Of course use code %file%, %date%, %char%, %num% is ok, And also you can use %title% or %name% -->
Data Attributes
id="wp_upload_rename"id="wp_upload_rename_ui_input"onkeyup="_wp_upload_rename_set(this)"id="wp_upload_rename_help"style="display:none; width:500px; margin:10px auto; padding:10px 20px; border:#EEE solid 1px; background:#FAFAFA;"
JS Globals
window._wp_upload_rename_setwindow._wp_upload_rename_help
FAQ

Frequently Asked Questions about wp_upload_rename