Redirect 404 Error Page to Homepage or Custom Page with Logs Security & Risk Analysis

wordpress.org/plugins/redirect-404-error-page-to-homepage-or-custom-page

Redirect the 404 error page to the homepage or any other page with logs. Supports permanent (301), temporary (302) redirects & not found (404).

10K active installs v1.8.10 PHP 7.4+ WP 6.0+ Updated Mar 18, 2025
404-error404-pageredirectredirect-404redirection
91
A · Safe
CVEs total2
Unpatched0
Last CVENov 7, 2023
Safety Verdict

Is Redirect 404 Error Page to Homepage or Custom Page with Logs Safe to Use in 2026?

Generally Safe

Score 91/100

Redirect 404 Error Page to Homepage or Custom Page with Logs has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Nov 7, 2023Updated 1yr ago
Risk Assessment

This plugin generally exhibits good security practices, with a strong emphasis on prepared statements for SQL queries and a high percentage of properly escaped output. The attack surface is minimal, with no AJAX handlers, REST API routes, or shortcodes directly exposed, and a single cron event that is not explicitly detailed as a risk. Nonce and capability checks are present, though not on all potential entry points, which is a minor concern given the limited attack surface.

The primary concerns stem from the taint analysis, which identified two flows with unsanitized paths of high severity. While the exact nature of these flows is not specified, unsanitized paths often indicate a potential for path traversal vulnerabilities or unintended file access, especially when coupled with file operations (though none were explicitly found here). The vulnerability history is also a significant point of concern. Having two known CVEs, including a high and a medium severity issue, even if currently patched, suggests a pattern of past vulnerabilities. The types of past vulnerabilities (SQL Injection and CSRF) are common but indicate areas where developers need to be particularly vigilant.

Overall, the plugin has a decent foundation with its use of prepared statements and output escaping. However, the high-severity unsanitized path flows in the taint analysis and the history of significant vulnerabilities warrant careful attention. While the immediate risk appears mitigated by current patching and good coding practices, the past issues and the taint analysis findings suggest that ongoing vigilance and thorough code review are necessary to maintain a secure posture.

Key Concerns

  • High severity taint flows with unsanitized paths
  • History of high severity vulnerability
  • History of medium severity vulnerability
  • Limited capability checks on entry points
Vulnerabilities
2

Redirect 404 Error Page to Homepage or Custom Page with Logs Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

High
1
Medium
1

2 total CVEs

CVE-2023-47530high · 7.2Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Redirect 404 Error Page to Homepage or Custom Page with Logs <= 1.8.7 - Authenticated (Administrator+) SQL Injection

Nov 7, 2023 Patched in 1.8.8 (77d)
CVE-2021-24767medium · 4.3Cross-Site Request Forgery (CSRF)

Redirect 404 Error Page to Homepage or Custom Page with Logs <= 1.7.8 - Log Deletion via Cross-Site Request Forgery

Oct 6, 2021 Patched in 1.7.9 (839d)
Code Analysis
Analyzed Mar 16, 2026

Redirect 404 Error Page to Homepage or Custom Page with Logs Code Analysis

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

SQL Query Safety

100% prepared7 total queries

Output Escaping

93% escaped29 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

3 flows2 with unsanitized paths
<class-list-table-404-log> (admin\class-list-table-404-log.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Redirect 404 Error Page to Homepage or Custom Page with Logs Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionadmin_enqueue_scriptsadmin\class-admin-pages.php:58
filterscreen_layout_columnsadmin\class-admin-pages.php:61
filterastra_the_404_page_titleincludes\class-core.php:74
actioninitincludes\class-core.php:103
actionadmin_menuincludes\class-core.php:117
filterset-screen-optionincludes\class-core.php:120
actionadmin_menuincludes\class-core.php:121
actionadmin_noticesincludes\class-core.php:158
actionredirect_404_hp_cpincludes\class-core.php:163
actiontemplate_redirectincludes\class-core.php:181
filter404_templateincludes\class-core.php:183

Scheduled Events 1

redirect_404_hp_cp
Maintenance & Trust

Redirect 404 Error Page to Homepage or Custom Page with Logs Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 18, 2025
PHP min version7.4
Downloads288K

Community Trust

Rating100/100
Number of ratings45
Active installs10K
Developer Profile

Redirect 404 Error Page to Homepage or Custom Page with Logs Developer Profile

WPVibes

10 plugins · 201K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
157 days
View full developer profile
Detection Fingerprints

How We Detect Redirect 404 Error Page to Homepage or Custom Page with Logs

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/redirect-404-error-page-to-homepage-or-custom-page/assets/css/admin-styles.css/wp-content/plugins/redirect-404-error-page-to-homepage-or-custom-page/assets/js/admin-scripts.js
Script Paths
/wp-content/plugins/redirect-404-error-page-to-homepage-or-custom-page/assets/js/admin-scripts.js
Version Parameters
/wp-content/plugins/redirect-404-error-page-to-homepage-or-custom-page/assets/css/admin-styles.css?ver=/wp-content/plugins/redirect-404-error-page-to-homepage-or-custom-page/assets/js/admin-scripts.js?ver=

HTML / DOM Fingerprints

CSS Classes
fs-settings-meta-box-wrapif-js-closed
HTML Comments
<!-- #side-sortables --><!-- #normal-sortables -->
Data Attributes
id="fx-smb-form"id="fs-smb-form"
JS Globals
window.postboxes
FAQ

Frequently Asked Questions about Redirect 404 Error Page to Homepage or Custom Page with Logs