JP Theme Switcher Bar Security & Risk Analysis

wordpress.org/plugins/jp-theme-bar

Adds a theme switcher/ theme demo bar to the bottom of your site to allow users to switch the theme they see on your site.

10 active installs v0.1.0 PHP + WP 3.8+ Updated Sep 4, 2014
demoswitcherthemetheme-switcherthemes
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is JP Theme Switcher Bar Safe to Use in 2026?

Generally Safe

Score 85/100

JP Theme Switcher Bar has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "jp-theme-bar" plugin version 0.1.0 presents a seemingly low-risk profile based on the provided static analysis. The absence of any identified attack surface points like AJAX handlers, REST API routes, shortcodes, or cron events is a significant positive indicator. Furthermore, the code signals show a commendable lack of dangerous functions, file operations, and external HTTP requests. The use of prepared statements for all SQL queries is also a strong security practice.

However, a critical concern arises from the very low percentage of properly escaped output (17%). This suggests a high likelihood of Cross-Site Scripting (XSS) vulnerabilities, as user-supplied data or dynamic content is likely being rendered directly into the HTML without adequate sanitization. The complete lack of nonce checks and capability checks is another major red flag, especially if any user-facing elements exist that could be manipulated. The taint analysis showing zero flows is positive, but this could be due to the limited nature of the analysis or the extremely small attack surface.

Given the plugin's early version (0.1.0) and the absence of any recorded vulnerability history, it's difficult to draw conclusions about long-term security patterns. However, the current analysis highlights significant weaknesses in output escaping and authorization mechanisms that must be addressed to improve its security posture. While the lack of known vulnerabilities is good, the identified code-level issues represent tangible risks.

Key Concerns

  • Low output escaping (17%)
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

JP Theme Switcher Bar Security Vulnerabilities

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

JP Theme Switcher Bar Code Analysis

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

Output Escaping

17% escaped12 total outputs
Attack Surface

JP Theme Switcher Bar Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menujptb-admin.php:15
actionadmin_initjptb-admin.php:16
actionadmin_enqueue_scriptsjptb-admin.php:17
actionwp_enqueue_scriptsjptb-frontend.php:9
actionwp_enqueue_scriptsjptb-frontend.php:11
filterquery_varsjptb-frontend.php:12
actionafter_theme_setupjptb-frontend.php:14
Maintenance & Trust

JP Theme Switcher Bar Maintenance & Trust

Maintenance Signals

WordPress version tested4.0.38
Last updatedSep 4, 2014
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

JP Theme Switcher Bar Developer Profile

Josh Pollock

6 plugins · 540 total installs

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

How We Detect JP Theme Switcher Bar

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/jp-theme-bar/css/style.css/wp-content/plugins/jp-theme-bar/js/jptb-frontend.js/wp-content/plugins/jp-theme-bar/js/jptb-admin.js
Script Paths
/wp-content/plugins/jp-theme-bar/js/jptb-frontend.js/wp-content/plugins/jp-theme-bar/js/jptb-admin.js
Version Parameters
jp-theme-bar/css/style.css?ver=jp-theme-bar/js/jptb-frontend.js?ver=jp-theme-bar/js/jptb-admin.js?ver=

HTML / DOM Fingerprints

Data Attributes
id="jptb_label"id="jptb_bg_colour"id="jptb_text_colour"id="jptb_label_bg_colour"id="jptb_label_text_colour"id="jptb_mod_switch"+2 more
JS Globals
window.updateLabelText
FAQ

Frequently Asked Questions about JP Theme Switcher Bar