Custom Mime Types Security & Risk Analysis

wordpress.org/plugins/custom-mime-types

Easily manage and customize allowed file types on your WordPress site. Add or remove mime types, set file size limits, and control who can upload what …

30 active installs v1.2.0 PHP 5.4+ WP 5.0+ Updated Jul 6, 2025
custom-mimefile-sizefile-typesmime-typesupload
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Mime Types Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 9mo ago
Risk Assessment

The "custom-mime-types" v1.2.0 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of direct entry points like AJAX handlers, REST API routes, or shortcodes, combined with a lack of critical taint flows and dangerous functions, suggests a well-contained plugin. Furthermore, the complete reliance on prepared statements for SQL queries is a significant positive. The plugin also demonstrates awareness of security by including a capability check, a fundamental security measure.

However, a notable concern arises from the significantly low percentage of properly escaped output (9%). With 43 total outputs, this indicates that a substantial majority of data being displayed to users may not be adequately sanitized, creating a risk of cross-site scripting (XSS) vulnerabilities. While the analysis found no specific XSS issues, this lack of output sanitization is a broad weakness. The absence of nonce checks, while not a direct concern given the lack of AJAX/REST endpoints, is a missed opportunity to reinforce security if such features were ever to be added.

Given the complete lack of recorded vulnerabilities (CVEs) and the absence of any historical security issues, the plugin appears to have a clean track record. This, combined with the minimal attack surface and secure data handling for SQL, points to a plugin that has been developed with security in mind. The primary weakness is the widespread issue with output escaping, which is a significant enough concern to warrant attention despite the otherwise positive analysis.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Custom Mime Types Security Vulnerabilities

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

Custom Mime Types Code Analysis

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

Output Escaping

9% escaped43 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
cmt_save_settings (includes\class\class-ajax.php:47)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Custom Mime Types Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actioninitincludes\class\class-app.php:38
actionadmin_enqueue_scriptsincludes\class\class-hooks.php:36
actionadmin_menuincludes\class\class-hooks.php:37
filterupload_size_limitincludes\class\class-hooks.php:42
filterupload_mimesincludes\class\class-hooks.php:43
Maintenance & Trust

Custom Mime Types Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 6, 2025
PHP min version5.4
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs30
Developer Profile

Custom Mime Types Developer Profile

Jafran Hasan

3 plugins · 50 total installs

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

How We Detect Custom Mime Types

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-mime-types/public/css/admin.min.css/wp-content/plugins/custom-mime-types/public/js/vue.global.prod.js/wp-content/plugins/custom-mime-types/public/js/admin.js
Script Paths
/wp-content/plugins/custom-mime-types/public/js/vue.global.prod.js/wp-content/plugins/custom-mime-types/public/js/admin.js
Version Parameters
custom-mime-types/public/js/vue.global.prod.js?ver=custom-mime-types/public/js/admin.js?ver=

HTML / DOM Fingerprints

JS Globals
window._cmt
FAQ

Frequently Asked Questions about Custom Mime Types