Resize images before upload Security & Risk Analysis

wordpress.org/plugins/resize-images-before-upload

Automatically resizes your images right in your browser, before uploading.

1K active installs v1.8 PHP + WP 3.0+ Updated Nov 28, 2017
imagespluploadresize
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Resize images before upload Safe to Use in 2026?

Generally Safe

Score 85/100

Resize images before upload has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The "resize-images-before-upload" v1.8 plugin exhibits a generally strong security posture in terms of its attack surface and vulnerability history. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits potential entry points for attackers. Furthermore, the plugin has no recorded CVEs, indicating a history of good security practices or diligent patching by its developers. The use of prepared statements for all SQL queries is also a positive sign, mitigating risks associated with SQL injection vulnerabilities.

However, the static analysis reveals a critical concern: the use of the `create_function` dangerous function. This function is known to be insecure and can lead to arbitrary code execution if not handled with extreme care, especially if user-supplied input can influence its behavior. The low percentage of properly escaped output (13%) is also a notable weakness, posing a risk of Cross-Site Scripting (XSS) vulnerabilities, particularly if any of the outputs are user-controlled or display dynamic data.

In conclusion, while the plugin benefits from a small attack surface and a clean vulnerability history, the identified `create_function` usage and poor output escaping practices introduce significant risks. Developers should prioritize addressing these issues to enhance the plugin's security. The lack of explicit capability checks and nonce checks, while not flagged as an immediate risk due to the limited attack surface, could become a concern if new entry points are introduced in future versions.

Key Concerns

  • Use of dangerous function: create_function
  • Low percentage of properly escaped output
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Resize images before upload Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Resize images before upload Code Analysis

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

Dangerous Functions Found

create_functionadd_action("init", create_function('', 'new WP_Resize_Images_Before_Upload();'));resize-images-before-upload.php:304

Output Escaping

13% escaped8 total outputs
Attack Surface

Resize images before upload Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
filterplupload_initresize-images-before-upload.php:41
filterplupload_default_settingsresize-images-before-upload.php:42
filterplupload_default_paramsresize-images-before-upload.php:43
actionpost-upload-uiresize-images-before-upload.php:46
actionadmin_footerresize-images-before-upload.php:47
actionwp_footerresize-images-before-upload.php:49
actionadmin_initresize-images-before-upload.php:51
actioninitresize-images-before-upload.php:304
Maintenance & Trust

Resize images before upload Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedNov 28, 2017
PHP min version
Downloads59K

Community Trust

Rating92/100
Number of ratings22
Active installs1K
Developer Profile

Resize images before upload Developer Profile

WPsites

1 plugin · 1K total installs

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

How We Detect Resize images before upload

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/resize-images-before-upload/js/source/resize.js
Script Paths
/wp-content/plugins/resize-images-before-upload/js/source/resize.js
Version Parameters
resize-images-before-upload/js/source/resize.js?ver=

HTML / DOM Fingerprints

JS Globals
uploader
FAQ

Frequently Asked Questions about Resize images before upload