Custom 404 Handler Security & Risk Analysis

wordpress.org/plugins/custom-404-handler

Customized 404 page, error logging with analysis, automatic redirects and export functionality.

40 active installs v1.0.0 PHP 7.0+ WP 5.0+ Updated May 17, 2025
404custom-404errorloggingredirect
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Custom 404 Handler Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 10mo ago
Risk Assessment

The "custom-404-handler" plugin, version 1.0.0, presents a mixed security posture. On the positive side, it boasts no known vulnerabilities (CVEs) and a seemingly small attack surface with zero AJAX handlers, REST API routes, shortcodes, or cron events. The code also includes a reasonable number of nonce and capability checks, and half of its SQL queries utilize prepared statements, indicating some adherence to secure coding practices.

However, concerns arise from the static analysis. While the overall number of entry points is zero, a taint analysis revealed one flow with an unsanitized path, identified as high severity. This indicates a potential for privilege escalation or code injection if this path is reachable by an attacker. Furthermore, 42% of output strings are not properly escaped, which could lead to cross-site scripting (XSS) vulnerabilities. The presence of file operations, even without external HTTP requests, also warrants careful review for potential insecure handling of files.

Given the lack of historical vulnerabilities, the plugin might have a generally secure codebase. Nevertheless, the identified high-severity taint flow and the significant percentage of unescaped output are critical areas that need immediate attention. Addressing these specific findings is paramount to improving the plugin's security before it becomes a target.

Key Concerns

  • High severity taint flow with unsanitized path
  • Significant portion of output not properly escaped
  • File operations present, requires careful review
Vulnerabilities
None known

Custom 404 Handler Security Vulnerabilities

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

Custom 404 Handler Code Analysis

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

SQL Query Safety

50% prepared16 total queries

Output Escaping

58% escaped173 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

4 flows1 with unsanitized paths
display_logs_page (custom-404-handler.php:372)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Custom 404 Handler Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menucustom-404-handler.php:68
actionadmin_initcustom-404-handler.php:71
actiontemplate_redirectcustom-404-handler.php:74
actionadmin_enqueue_scriptscustom-404-handler.php:77
actionwp_headcustom-404-handler.php:274
actionwp_headcustom-404-handler.php:306
actionadmin_initcustom-404-handler.php:576
Maintenance & Trust

Custom 404 Handler Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 17, 2025
PHP min version7.0
Downloads471

Community Trust

Rating0/100
Number of ratings0
Active installs40
Developer Profile

Custom 404 Handler Developer Profile

jfkconsulting

1 plugin · 40 total installs

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

How We Detect Custom 404 Handler

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-404-handler/js/redirects.js/wp-content/plugins/custom-404-handler/js/settings.js
Script Paths
/wp-content/plugins/custom-404-handler/js/redirects.js/wp-content/plugins/custom-404-handler/js/settings.js
Version Parameters
custom-404-handler/js/redirects.js?ver=1.0.0custom-404-handler/js/settings.js?ver=1.0.0

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Custom 404 Handler