Nginx Mobile Theme Security & Risk Analysis

wordpress.org/plugins/nginx-mobile-theme

This plugin allows you to switch theme according to the User Agent on the Nginx reverse proxy.

200 active installs v1.8.2 PHP + WP 3.7.1+ Updated Oct 17, 2018
mobilenginxsmartphonetablettheme
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Nginx Mobile Theme Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 7yr ago
Risk Assessment

The nginx-mobile-theme plugin v1.8.2 exhibits a generally strong security posture based on the provided static analysis. The absence of any identified CVEs in its vulnerability history and the lack of dangerous functions or file operations suggest a well-maintained and secure codebase. Furthermore, the plugin demonstrates good practices by utilizing prepared statements for all SQL queries and having a clean taint analysis with no unsanitized paths or critical/high severity flows.

However, there are areas for concern. The most significant is the complete lack of nonce and capability checks across all identified entry points. While the current attack surface is reported as zero, if any entry points were to be introduced or discovered in the future, they would be entirely unprotected. Additionally, a concerningly low percentage of output is properly escaped, meaning there's a significant risk of cross-site scripting (XSS) vulnerabilities if any of the output mechanisms were to be triggered by user-controlled input.

In conclusion, while the plugin has a clean historical record and avoids common pitfalls like raw SQL, the lack of authentication and authorization checks on potential entry points and the prevalent unescaped output are significant weaknesses. These aspects, if exploited, could lead to serious security breaches despite the plugin's otherwise clean analysis.

Key Concerns

  • No nonce checks on any entry points
  • No capability checks on any entry points
  • Low percentage of properly escaped output
Vulnerabilities
None known

Nginx Mobile Theme Security Vulnerabilities

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

Nginx Mobile Theme Code Analysis

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

Output Escaping

33% escaped3 total outputs
Attack Surface

Nginx Mobile Theme Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionplugins_loadednginx-mobile-theme.php:39
actionadmin_initnginx-mobile-theme.php:51
actioncustomize_controls_print_scriptsnginx-mobile-theme.php:52
actioncustomize_registernginx-mobile-theme.php:64
filterhome_urlnginx-mobile-theme.php:69
filterhome_urlnginx-mobile-theme.php:95
filternginxchampuru_get_the_urlnginx-mobile-theme.php:117
filterhome_urlnginx-mobile-theme.php:125
actionadmin_noticesnginx-mobile-theme.php:184
filternginxmobile_proxy_keynginx-mobile-theme.php:345
filternginxmobile_mobile_detectsnginx-mobile-theme.php:348
Maintenance & Trust

Nginx Mobile Theme Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedOct 17, 2018
PHP min version
Downloads221K

Community Trust

Rating100/100
Number of ratings2
Active installs200
Developer Profile

Nginx Mobile Theme Developer Profile

Takayuki Miyauchi

20 plugins · 41K total installs

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

How We Detect Nginx Mobile Theme

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/nginx-mobile-theme/nginx-mobile-theme.php/wp-content/plugins/nginx-mobile-theme/vendor/autoload.php

HTML / DOM Fingerprints

CSS Classes
theme-preview
HTML Comments
<!-- Nginx Mobile Theme requires <strong>Nginx Cache Controller</strong>. --><!-- Filter the proxy key for reverse proxy. --><!-- Filter the mobile detects --><!-- Filters the theme slug for mobile -->+3 more
Data Attributes
nginx-mobile-theme
JS Globals
window.open().location.hrefvar $ = jQuery
FAQ

Frequently Asked Questions about Nginx Mobile Theme