Switch Pages Security & Risk Analysis

wordpress.org/plugins/switch-pages

Switch Pages is a plugin which allows you to switch between pages/posts from within the Edit page without having to go to the Pages tab and searching …

30 active installs v2.0 PHP 5.2.4+ WP 3.0+ Updated Jul 21, 2021
jump-to-postpagespostsswitchtoggle
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Switch Pages Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The plugin 'switch-pages' v2.0 exhibits a generally strong security posture based on the provided static analysis. The absence of any registered AJAX handlers, REST API routes, shortcodes, or cron events significantly limits its attack surface. Furthermore, the code signals show no dangerous functions, file operations, or external HTTP requests. The sole SQL query identified is correctly using prepared statements, which is a positive security practice. The vulnerability history is also clear, with no known CVEs, which suggests a good track record.

However, there are critical concerns regarding output escaping. With two total outputs and 0% properly escaped, this indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any data displayed to users that originates from external sources or even internal plugin logic could be maliciously crafted to execute arbitrary JavaScript. The complete lack of nonce checks and capability checks, coupled with an attack surface of zero unprotected entry points, means that while the entry points themselves might be secure, the data processed through them is not protected from manipulation if an attacker can find a way to inject data or trigger plugin functionality.

In conclusion, while the plugin excels at limiting its direct attack vectors and handling database operations securely, the lack of output escaping presents a significant and easily exploitable vulnerability. The absence of recorded vulnerabilities historically is encouraging but does not negate the immediate risk posed by the unescaped output. This plugin should be treated with caution until the output escaping issue is addressed.

Key Concerns

  • Output not properly escaped
  • No nonce checks on potential inputs
  • No capability checks on potential inputs
Vulnerabilities
None known

Switch Pages Security Vulnerabilities

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

Switch Pages Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

0% escaped2 total outputs
Attack Surface

Switch Pages Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionplugins_loadedswitch-pages.php:47
actionedit_form_topswitch-pages.php:85
actioninitswitch-pages.php:149
actionenqueue_block_editor_assetsswitch-pages.php:154
Maintenance & Trust

Switch Pages Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedJul 21, 2021
PHP min version5.2.4
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs30
Developer Profile

Switch Pages Developer Profile

brijeshk89

5 plugins · 2K total installs

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

How We Detect Switch Pages

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/switch-pages/switch-pages-sidebar.css/wp-content/plugins/switch-pages/js/sidebar.js
Script Paths
/wp-content/plugins/switch-pages/js/sidebar.js

HTML / DOM Fingerprints

JS Globals
switch_pages_title
REST Endpoints
/wp-json/wp/v2/posts?switch_pages_title=
FAQ

Frequently Asked Questions about Switch Pages