Mobile Detect For CSS Security & Risk Analysis

wordpress.org/plugins/mobile-detect-for-css

The library is from http://mobiledetect.net/. The BODY tag needs to use the body_class() function. The values: desktop, handheld, mobile, tablet, ios, …

30 active installs v1.3 PHP + WP 2.8+ Updated Apr 5, 2016
androiddetectiosmobilephp
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Mobile Detect For CSS Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The "mobile-detect-for-css" v1.3 plugin exhibits a strong security posture based on the provided static analysis. The absence of any identified entry points (AJAX handlers, REST API routes, shortcodes, cron events) significantly reduces the potential attack surface. Furthermore, the code adheres to best practices by utilizing prepared statements for all SQL queries and properly escaping all output. The lack of dangerous functions, file operations, external HTTP requests, and bundled libraries further contributes to its secure design. The taint analysis reveals no flows with unsanitized paths, indicating no evident risks from user-supplied input being improperly handled. The plugin's vulnerability history is also clean, with no recorded CVEs, suggesting a history of stable and secure development.

While the plugin appears very secure, the analysis does indicate a complete absence of nonce checks and capability checks. This is a notable area of concern. Although the current attack surface is zero, if future development introduces any new entry points without proper authentication and authorization mechanisms, these could become immediate vulnerabilities. Therefore, while the current state is excellent, future development should prioritize the inclusion of these standard WordPress security checks when adding any new functionality or entry points to maintain this high level of security.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Mobile Detect For CSS Security Vulnerabilities

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

Mobile Detect For CSS Release Timeline

v1.3Current
v1.2
v1.1
v1.0
Code Analysis
Analyzed Apr 16, 2026

Mobile Detect For CSS Code Analysis

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

Mobile Detect For CSS Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
filterbody_classmobile-detect-for-css.php:21
Maintenance & Trust

Mobile Detect For CSS Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedApr 5, 2016
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs30
Developer Profile

Mobile Detect For CSS Developer Profile

Phuc Pham

4 plugins · 160 total installs

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

How We Detect Mobile Detect For CSS

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mobile-detect-for-css/Mobile_Detect.php

HTML / DOM Fingerprints

CSS Classes
mobiletabletiosandroidhandhelddesktop
FAQ

Frequently Asked Questions about Mobile Detect For CSS