
Custom Error Pages Security & Risk Analysis
wordpress.org/plugins/custom-error-pagesCreate custom 401 and 403 error pages with any WordPress theme without writing a single line of code, set it up and forget it.
Is Custom Error Pages Safe to Use in 2026?
Generally Safe
Score 85/100Custom Error Pages has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
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
Custom Error Pages Security Vulnerabilities
Custom Error Pages Code Analysis
Output Escaping
Data Flow Analysis
Custom Error Pages Attack Surface
WordPress Hooks 8
Maintenance & Trust
Custom Error Pages Maintenance & Trust
Maintenance Signals
Community Trust
Custom Error Pages Alternatives
Static 404
static-404
A WordPress plugin to quickly send a 404 for missing static files.
Security Safe
security-safe
This security plugin helps you quickly audit, harden, and secure your WordPress website.
F4 Error Pages
f4-error-pages
With this simple plugin you can assign custom pages (with custom content etc.) as error pages. This works for 404 (page not found) and 403 (forbidden/ …
Gone Response
gone-response
Show the 404 page content with a 410 Gone status for all 404 errors.
301 Redirects – Redirect Manager
eps-301-redirects
Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 404 error log.
Custom Error Pages Developer Profile
3 plugins · 670 total installs
How We Detect Custom Error Pages
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/custom-error-pages/custom-error-pages.phpcustom-error-pages/custom-error-pages.php?ver=1.2HTML / DOM Fingerprints
<!-- 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 -->post_type="page"post_tyle="page"