Dunstan-style Error Page Security & Risk Analysis

wordpress.org/plugins/dunstan-error-page

See http://www.andrewferguson.net/wordpress-plugins/dunstan-style-error-page/ for the latest updates.

10 active installs v1.3.1 PHP + WP 1.5+ Updated Mar 23, 2007
countcountdowndateeventtimer
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Dunstan-style Error Page Safe to Use in 2026?

Generally Safe

Score 85/100

Dunstan-style Error Page has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 19yr ago
Risk Assessment

The plugin 'dunstan-error-page' v1.3.1 exhibits a mixed security posture. On the positive side, it boasts a very small attack surface with no reported AJAX handlers, REST API routes, shortcodes, or cron events, and importantly, no known CVEs in its history. All SQL queries are prepared, which is a strong security practice against SQL injection. However, significant concerns arise from the static analysis. The presence of the `unserialize` function is a critical risk, as it can lead to Remote Code Execution if used with untrusted input. Furthermore, a complete lack of output escaping is highly problematic, potentially exposing the site to Cross-Site Scripting (XSS) vulnerabilities through any data rendered on the page. The taint analysis revealing unsanitized paths, even without a critical or high severity classification, highlights potential avenues for exploitation if the plugin were to process user-supplied data in specific ways. The absence of nonce and capability checks, while not directly exploitable due to the limited attack surface, indicates a lack of fundamental security controls that would be essential if the attack surface were to expand in future versions.

Key Concerns

  • Use of unserialize function
  • No output escaping
  • Unsanitized paths in taint analysis
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Dunstan-style Error Page Security Vulnerabilities

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

Dunstan-style Error Page Code Analysis

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

Dangerous Functions Found

unserialize$getOptions = unserialize(get_option("afdn_error_page"));afdn_error_page.php:43
unserialize$getOptions = unserialize(get_option("afdn_error_page"));afdn_error_page.php:105
unserialize$spamArray = unserialize(get_option("afdn_error_page_spam"));afdn_error_page.php:106
unserialize$getOptions = unserialize(get_option("afdn_error_page"));afdn_error_page.php:138
unserialize$getOptions = unserialize(get_option("afdn_error_page"));afdn_error_page.php:155
unserialize<?php $spamArray = unserialize(get_option("afdn_error_page_spam")); ?>afdn_error_page.php:205
unserialize$getOptions = unserialize(get_option("afdn_error_page"));afdn_error_page.php:347

Output Escaping

0% escaped24 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
afdn_error_page_myOptionsSubpanel (afdn_error_page.php:81)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Dunstan-style Error Page Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionadmin_menuafdn_error_page.php:34
Maintenance & Trust

Dunstan-style Error Page Maintenance & Trust

Maintenance Signals

WordPress version tested2.1
Last updatedMar 23, 2007
PHP min version
Downloads5K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Dunstan-style Error Page Developer Profile

fergbrain

7 plugins · 1K total installs

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

How We Detect Dunstan-style Error Page

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/dunstan-error-page/afdn-error-page.css/wp-content/plugins/dunstan-error-page/afdn-error-page.js
Script Paths
/wp-content/plugins/dunstan-error-page/afdn-error-page.js
Version Parameters
dunstan-error-page/afdn-error-page.css?ver=dunstan-error-page/afdn-error-page.js?ver=

HTML / DOM Fingerprints

CSS Classes
afdn-error-page-containerafdn-error-page-messageafdn-error-page-code
HTML Comments
<!-- Dunstan-style Error Page --><!-- End Dunstan-style Error Page -->
Data Attributes
data-error-messagedata-error-code
JS Globals
afdn_error_page_params
Shortcode Output
<div class="afdn-error-page-message"><div class="afdn-error-page-code">
FAQ

Frequently Asked Questions about Dunstan-style Error Page