WMF Theme Switcher Security & Risk Analysis

wordpress.org/plugins/wmf-mobile-theme-switcher

This plugin switch themes per mobile and tablet device. Useful for the switch to a mobile theme.

0 active installs v1.1 PHP 7.4+ WP 5.0+ Updated Dec 15, 2024
mobilemobile-browser-detectmobile-detectmobile-theme-switchertheme-switcher
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WMF Theme Switcher Safe to Use in 2026?

Generally Safe

Score 92/100

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

No known CVEs Updated 1yr ago
Risk Assessment

The "wmf-mobile-theme-switcher" plugin version 1.1 exhibits a generally strong security posture based on the provided static analysis. The absence of raw SQL queries, the high percentage of properly escaped output, and the presence of a nonce check are positive indicators. Notably, there are no recorded vulnerabilities (CVEs) for this plugin, suggesting a history of secure development or limited exposure to exploit attempts.

However, a significant concern arises from the complete lack of capability checks on any entry points. While the attack surface is small, with only two AJAX handlers and no direct REST API routes or shortcodes, the absence of authorization checks means that any user, regardless of their role, could potentially interact with these AJAX endpoints. This presents a potential risk if the functionality exposed by these handlers can be leveraged for malicious purposes, even if the code itself doesn't contain immediately apparent dangerous functions or taint flows.

In conclusion, while the plugin demonstrates good coding practices in areas like SQL and output sanitization, the lack of capability checks is a notable weakness. The pristine vulnerability history is a positive sign, but it should not entirely overshadow the importance of robust authorization for all interactive plugin components.

Key Concerns

  • No capability checks on entry points
Vulnerabilities
None known

WMF Theme Switcher Security Vulnerabilities

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

WMF Theme Switcher Release Timeline

v1.0.1
v1.0
Code Analysis
Analyzed Apr 16, 2026

WMF Theme Switcher Code Analysis

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

Output Escaping

91% escaped91 total outputs
Attack Surface

WMF Theme Switcher Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_wmf_nagsystemwmf-theme-switcher.php:43
noprivwp_ajax_wmf_nagsystemwmf-theme-switcher.php:44
WordPress Hooks 12
filteroption_active_pluginsmu-plugins/wmf-theme-switcher-mu.php:1499
actionplugins_loadedmu-plugins/wmf-theme-switcher-mu.php:1500
actionadmin_menuwmf-theme-switcher.php:35
actionadmin_initwmf-theme-switcher.php:36
actionplugins_loadedwmf-theme-switcher.php:38
actionplugins_loadedwmf-theme-switcher.php:39
actionadmin_enqueue_scriptswmf-theme-switcher.php:40
actionadmin_headwmf-theme-switcher.php:46
actionplugins_loadedwmf-theme-switcher.php:47
actionadmin_noticeswmf-theme-switcher.php:55
filterstylesheetwmf-theme-switcher.php:253
filtertemplatewmf-theme-switcher.php:254
Maintenance & Trust

WMF Theme Switcher Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedDec 15, 2024
PHP min version7.4
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

WMF Theme Switcher Developer Profile

Web Builder 143

6 plugins · 11K total installs

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

How We Detect WMF Theme Switcher

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wmf-mobile-theme-switcher/assets/css/mobile-theme-switcher.css/wp-content/plugins/wmf-mobile-theme-switcher/assets/js/mobile-theme-switcher.js
Script Paths
/wp-content/plugins/wmf-mobile-theme-switcher/assets/js/mobile-theme-switcher.js
Version Parameters
wmf-mobile-theme-switcher/assets/css/mobile-theme-switcher.css?ver=wmf-mobile-theme-switcher/assets/js/mobile-theme-switcher.js?ver=

HTML / DOM Fingerprints

CSS Classes
wmf-theme-switcher-mobile-togglewmf-theme-switcher-desktop-toggle
Data Attributes
data-wmf-theme-switcher-mobiledata-wmf-theme-switcher-desktop
JS Globals
WMF_Mobile_Detect
FAQ

Frequently Asked Questions about WMF Theme Switcher