Custom Error Pages Security & Risk Analysis

wordpress.org/plugins/custom-error-pages

Create custom 401 and 403 error pages with any WordPress theme without writing a single line of code, set it up and forget it.

600 active installs v1.2 PHP + WP 3.3.0+ Updated May 22, 2023
401403404errorerrors
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Error Pages Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 2yr ago
Risk Assessment

The "custom-error-pages" v1.2 plugin exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by having no recorded CVEs, a clean vulnerability history, and a seemingly small attack surface with no direct AJAX handlers, REST API routes, shortcodes, or cron events exposed without authentication. Furthermore, all SQL queries utilize prepared statements, and there are no file operations or external HTTP requests, which significantly reduces common attack vectors.

However, there are notable concerns arising from the static analysis. A significant weakness is the low percentage of properly escaped output (18%), suggesting a high risk of Cross-Site Scripting (XSS) vulnerabilities. The taint analysis reveals two flows with unsanitized paths, and while no critical or high severity issues were flagged in the taint analysis itself, the presence of unsanitized paths coupled with poor output escaping creates a fertile ground for potential exploitation. The complete lack of nonce checks and capability checks, especially in conjunction with the output escaping issue, further exacerbates the risk, as it implies that even if an entry point were discovered, it might be exploitable without proper authorization or security measures.

In conclusion, while the plugin avoids common pitfalls like unpatched vulnerabilities and direct exposure of entry points, the poor output escaping and unsanitized path flows represent a critical security weakness. The absence of robust authorization checks like nonces and capability checks further amplifies this risk. The overall security posture leans towards concerning due to these specific code-level vulnerabilities, despite the clean historical record.

Key Concerns

  • Low output escaping rate (18%)
  • Unsanitized paths in taint flows (2 flows)
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Custom Error Pages Security Vulnerabilities

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

Custom Error Pages Code Analysis

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

Output Escaping

18% escaped11 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
plugin_options (admin_options.php:109)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Custom Error Pages Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionadmin_menuadmin_options.php:9
actionadmin_initadmin_options.php:10
actionadmin_noticesadmin_options.php:23
actioninitplugin.php:33
filterquery_varsplugin.php:34
actionparse_requestplugin.php:35
actionwpplugin.php:80
filterthe_postsplugin.php:81
Maintenance & Trust

Custom Error Pages Maintenance & Trust

Maintenance Signals

WordPress version tested6.2.9
Last updatedMay 22, 2023
PHP min version
Downloads20K

Community Trust

Rating100/100
Number of ratings12
Active installs600
Developer Profile

Custom Error Pages Developer Profile

Jesin A

3 plugins · 670 total installs

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

How We Detect Custom Error Pages

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-error-pages/custom-error-pages.php
Version Parameters
custom-error-pages/custom-error-pages.php?ver=1.2

HTML / DOM Fingerprints

HTML Comments
<!-- Tels caching plugins like W3 Total Cache and WP Supercache not to cache these custom error pages --><!-- Adds custom "status" query variable --><!-- Checks for the existence of "status" query variable --><!-- Execution of the plugin begins here -->
Data Attributes
post_type="page"post_tyle="page"
FAQ

Frequently Asked Questions about Custom Error Pages