WP Maintenance Switch Security & Risk Analysis

wordpress.org/plugins/wp-maintenance-switch

A light-weight tool to turn on maintenance mode with just one click.

30 active installs v1.0.1 PHP + WP 2.9+ Updated Mar 13, 2017
maintenancemaintenance-modemaintenance-switchswitchwp-maintenance
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Maintenance Switch Safe to Use in 2026?

Generally Safe

Score 85/100

WP Maintenance Switch has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The wp-maintenance-switch plugin exhibits a generally good security posture, particularly concerning its handling of database queries and the absence of external HTTP requests. The plugin demonstrates a conscious effort to implement capability checks, which is a positive sign for access control. However, a significant concern arises from the complete lack of output escaping. This means that any dynamic data displayed by the plugin could potentially be manipulated by an attacker to inject malicious code, leading to cross-site scripting (XSS) vulnerabilities. Furthermore, the absence of nonce checks on its single AJAX handler presents a risk of cross-site request forgery (CSRF) attacks. While the plugin has no recorded vulnerability history, this does not negate the immediate risks identified in the code analysis.

Key Concerns

  • No output escaping
  • Missing nonce check on AJAX handler
Vulnerabilities
None known

WP Maintenance Switch Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

WP Maintenance Switch Release Timeline

v1.0.1Current
v1.0
Code Analysis
Analyzed Mar 16, 2026

WP Maintenance Switch Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

WP Maintenance Switch Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_wpmaintenanceswitchwp-maintenance-switch.php:81
WordPress Hooks 4
actionadmin_bar_menuwp-maintenance-switch.php:51
actionwp_enqueue_scriptswp-maintenance-switch.php:62
actionadmin_enqueue_scriptswp-maintenance-switch.php:63
actioninitwp-maintenance-switch.php:220
Maintenance & Trust

WP Maintenance Switch Maintenance & Trust

Maintenance Signals

WordPress version tested4.7.33
Last updatedMar 13, 2017
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs30
Developer Profile

WP Maintenance Switch Developer Profile

Mitch

12 plugins · 11K total installs

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

How We Detect WP Maintenance Switch

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-maintenance-switch/assets/css/admin.css/wp-content/plugins/wp-maintenance-switch/assets/js/ajax.js
Script Paths
/wp-content/plugins/wp-maintenance-switch/assets/js/ajax.js
Version Parameters
wp-maintenance-switch/assets/css/admin.css?ver=wp-maintenance-switch/assets/js/ajax.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpmaintenanceswitch-togglerab-icondashicons-admin-tools
Data Attributes
data-wpmaintenanceswitch-ajaxurl
JS Globals
wpmaintenanceswitch
REST Endpoints
/wp-json/wp/v2/users/wp-json/wp/v2/categories/wp-json/wp/v2/tags/wp-json/wp/v2/pages/wp-json/wp/v2/posts/wp-json/wp/v2/comments/wp-json/wp/v2/media/wp-json/wp/v2/types/wp-json/wp/v2/taxonomies/wp-json/wp/v2/settings/wp-json/wp/v2/themes/wp-json/wp/v2/plugins/wp-json/wp/v2/posts/(?P<id>[\d]+)/wp-json/wp/v2/pages/(?P<id>[\d]+)/wp-json/wp/v2/comments/(?P<id>[\d]+)/wp-json/wp/v2/media/(?P<id>[\d]+)/wp-json/wp/v2/users/(?P<id>[\d]+)/wp-json/wp/v2/users/me
FAQ

Frequently Asked Questions about WP Maintenance Switch