Mobile Detector Security & Risk Analysis

wordpress.org/plugins/mobile-detector

Lightweight detector of mobile devices, OSs & browsers. Optionally a mobile theme switcher.

300 active installs v2.0.2 PHP + WP 3.0+ Updated Dec 21, 2012
detectordevicemobileswitchertheme
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Mobile Detector Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "mobile-detector" plugin v2.0.2 exhibits a generally strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface. Furthermore, the code signals indicate a complete absence of dangerous functions, file operations, and external HTTP requests. All SQL queries are properly prepared, and there is a recorded capability check, suggesting an awareness of WordPress security best practices. The clean taint analysis with zero critical or high severity flows is also a positive indicator.

However, a significant concern arises from the low percentage of properly escaped output (29%). This suggests that data processed by the plugin might be vulnerable to cross-site scripting (XSS) attacks if user-supplied data is not handled with sufficient care before being displayed. The lack of recorded vulnerabilities in its history is a positive sign, implying good past development practices or a less targeted plugin. Despite the positive indicators, the unescaped output presents a tangible risk that should not be overlooked.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Mobile Detector Security Vulnerabilities

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

Mobile Detector Code Analysis

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

Output Escaping

29% escaped7 total outputs
Attack Surface

Mobile Detector Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
filterstylesheetmobile-detector.php:165
filtertemplatemobile-detector.php:166
actionadmin_initmobile-detector.php:264
actionadmin_menumobile-detector.php:265
actionplugins_loadedmobile-detector.php:268
Maintenance & Trust

Mobile Detector Maintenance & Trust

Maintenance Signals

WordPress version tested3.5.2
Last updatedDec 21, 2012
PHP min version
Downloads42K

Community Trust

Rating100/100
Number of ratings4
Active installs300
Developer Profile

Mobile Detector Developer Profile

Tubal

2 plugins · 400 total installs

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

How We Detect Mobile Detector

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mobile-detector/css/mobile-detector.css/wp-content/plugins/mobile-detector/js/mobile-detector.js
Script Paths
/wp-content/plugins/mobile-detector/js/mobile-detector.js
Version Parameters
mobile-detector/css/mobile-detector.css?ver=mobile-detector/js/mobile-detector.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-mobile-detector-version
JS Globals
window.MobileDTSvar MobileDTS
Shortcode Output
[mobile-detector]
FAQ

Frequently Asked Questions about Mobile Detector