Restrict WP Upload Type Security & Risk Analysis

wordpress.org/plugins/restrict-wp-upload-type

Restrict WP Upload Type gives you complete control over which files your users can upload to WordPress.

300 active installs v1.1.0 PHP 7.4+ WP 5.6+ Updated Jul 8, 2026
file-typemediamimesecurityupload-restrictions
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Restrict WP Upload Type Safe to Use in 2026?

Generally Safe

Score 100/100

Restrict WP Upload Type has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The "restrict-wp-upload-type" plugin v1.0.3 demonstrates a generally strong security posture based on the static analysis. It boasts zero identified attack vectors such as AJAX handlers, REST API routes, shortcodes, or cron events without proper authentication or permission checks. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests is commendable. The plugin also utilizes prepared statements exclusively for its SQL queries and has a high percentage of properly escaped output, indicating good coding practices for preventing common vulnerabilities.

The vulnerability history is also a significant positive, with zero known CVEs and no recorded past issues. This suggests a history of secure development and maintenance. However, the static analysis does reveal a complete lack of nonce checks and capability checks. While the attack surface is currently zero, any future additions to the plugin that introduce new entry points without these critical security measures could become a significant risk. This absence, though not exploited in the current version, represents a potential blind spot in its security design that could be leveraged if the plugin were to evolve.

In conclusion, the plugin is currently very secure, with no readily exploitable vulnerabilities detected and a strong history. The primary weakness lies in the complete absence of nonce and capability checks across all potential, albeit non-existent in this version, entry points. This is a potential future risk rather than an immediate one, but it is a significant omission from a robust security perspective.

Key Concerns

  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Restrict WP Upload Type Security Vulnerabilities

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

Restrict WP Upload Type Release Timeline

v1.1.0Current
v1.0.4
v1.0.3
v1.0.2
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Restrict WP Upload Type Code Analysis

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

SQL Query Safety

100% prepared5 total queries

Output Escaping

86% escaped14 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
restrict_wp_upload_files_exe_callback (includes\class-restrict-wp-upload-type-loader.php:153)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Restrict WP Upload Type Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menuincludes\class-restrict-wp-upload-type-loader.php:149
actionplugins_loadedincludes\class-restrict-wp-upload-type.php:142
actionadmin_enqueue_scriptsincludes\class-restrict-wp-upload-type.php:157
actionadmin_enqueue_scriptsincludes\class-restrict-wp-upload-type.php:158
actionwp_enqueue_scriptsincludes\class-restrict-wp-upload-type.php:173
actionwp_enqueue_scriptsincludes\class-restrict-wp-upload-type.php:174
filterupload_mimesincludes\class-restrict-wp-upload-type.php:220
Maintenance & Trust

Restrict WP Upload Type Maintenance & Trust

Maintenance Signals

WordPress version tested7.0.2
Last updatedJul 8, 2026
PHP min version7.4
Downloads5K

Community Trust

Rating100/100
Number of ratings4
Active installs300
Developer Profile

Restrict WP Upload Type Developer Profile

Kushang Tailor

3 plugins · 600 total installs

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

How We Detect Restrict WP Upload Type

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/restrict-wp-upload-type/css/restrict-wp-upload-type-admin.css/wp-content/plugins/restrict-wp-upload-type/js/restrict-wp-upload-type-admin.js
Script Paths
/wp-content/plugins/restrict-wp-upload-type/js/restrict-wp-upload-type-admin.js
Version Parameters
restrict-wp-upload-type-admin.css?ver=restrict-wp-upload-type-admin.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Restrict WP Upload Type