Conditional Display for Mobile – Mobile Detect Plugin Security & Risk Analysis

wordpress.org/plugins/wonderplugin-conditional-display

Conditional Display for Mobile can be used to control what content is displayed depending on the visitor's device or web browser.

2K active installs v1.2 PHP + WP 3.6+ Updated Dec 5, 2023
browser-checkbrowser-detectconditional-displaymobile-checkmobile-detect
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Conditional Display for Mobile – Mobile Detect Plugin Safe to Use in 2026?

Generally Safe

Score 85/100

Conditional Display for Mobile – Mobile Detect Plugin has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The 'wonderplugin-conditional-display' v1.2 plugin exhibits a generally strong security posture based on the provided static analysis. The code analysis shows an absence of dangerous functions, all SQL queries utilize prepared statements, and output is consistently escaped. There are no observed file operations or external HTTP requests, and the plugin appears to have no bundled libraries, which mitigates risks associated with outdated third-party code. Furthermore, the vulnerability history is clean, with zero recorded CVEs across all severity levels.

Despite these strengths, there are a couple of areas that warrant attention. The plugin has a total of one entry point through a shortcode, but the static analysis indicates zero capability checks. This means that while the attack surface is small, the shortcode's functionality is not explicitly protected by user role checks. While taint analysis found no unsanitized flows, the absence of nonce checks and capability checks on the shortcode presents a potential for misuse or unauthorized execution if the shortcode's underlying logic can be triggered improperly. The lack of any recorded vulnerabilities historically is positive, but it doesn't negate the need for robust access control on all plugin entry points.

In conclusion, 'wonderplugin-conditional-display' v1.2 demonstrates good internal coding practices regarding SQL and output handling. Its minimal attack surface is a benefit. However, the lack of explicit capability checks on its sole entry point (the shortcode) represents a significant oversight that could lead to unintended behavior or exploitation. The absence of historical vulnerabilities is a strong positive indicator, but the identified security gap in access control on the shortcode needs to be addressed for a fully secure implementation.

Key Concerns

  • No capability checks on shortcode
Vulnerabilities
None known

Conditional Display for Mobile – Mobile Detect Plugin Security Vulnerabilities

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

Conditional Display for Mobile – Mobile Detect Plugin 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

Conditional Display for Mobile – Mobile Detect Plugin Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[wonderplugin_cond] wonderplugin-cond.php:20
WordPress Hooks 1
filterwidget_textwonderplugin-cond.php:22
Maintenance & Trust

Conditional Display for Mobile – Mobile Detect Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedDec 5, 2023
PHP min version
Downloads36K

Community Trust

Rating100/100
Number of ratings7
Active installs2K
Developer Profile

Conditional Display for Mobile – Mobile Detect Plugin Developer Profile

WonderPlugin

6 plugins · 26K total installs

73
trust score
Avg Security Score
91/100
Avg Patch Time
368 days
View full developer profile
Detection Fingerprints

How We Detect Conditional Display for Mobile – Mobile Detect Plugin

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wonderplugin-conditional-display/wonderplugin-conditional-display.php

HTML / DOM Fingerprints

Data Attributes
deviceincludedeviceexcludebrowserincludebrowserexcludestarttimeendtime
Shortcode Output
[wonderplugin_condwonderplugin_is_device(wonderplugin_is_browser(
FAQ

Frequently Asked Questions about Conditional Display for Mobile – Mobile Detect Plugin