UserAgent Themes Switcher Security & Risk Analysis

wordpress.org/plugins/useragent-themes-switcher

Switch the theme by the user agent. Can be specified user agent by a regular expression.

50 active installs v2.05 PHP 8.0+ WP 4.7+ Updated Mar 29, 2026
browserthemesuseragent
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is UserAgent Themes Switcher Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 1mo ago
Risk Assessment

The "useragent-themes-switcher" plugin version 2.05 exhibits a generally strong security posture based on the provided static analysis. The absence of any identified attack surface points, dangerous functions, file operations, external HTTP requests, or taint analysis issues is highly commendable. The code also demonstrates good output escaping practices. However, a significant concern arises from the presence of a single SQL query that is not using prepared statements. This could potentially lead to SQL injection vulnerabilities if the data used in the query is not properly sanitized and validated at runtime, although the static analysis does not explicitly confirm a flow. The plugin also lacks nonce and capability checks, which, combined with the unprotected entry points (even though there are none reported), would be a significant risk if any were introduced in future versions or if the static analysis missed something. The vulnerability history being completely clean is a positive indicator, suggesting a history of secure development. Overall, while the current version appears robust due to its minimal attack surface and good output sanitization, the un-prepared SQL query is a specific risk that warrants attention and mitigation.

Key Concerns

  • SQL query not using prepared statements
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

UserAgent Themes Switcher Security Vulnerabilities

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

UserAgent Themes Switcher Release Timeline

v2.05Current
v2.04
v2.03
v2.02
v2.01
v2.00
v1.61
v1.60
v1.59
v1.58
v1.57
v1.56
Code Analysis
Analyzed Mar 16, 2026

UserAgent Themes Switcher Code Analysis

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

SQL Query Safety

0% prepared1 total queries
Attack Surface

UserAgent Themes Switcher Attack Surface

Entry Points0
Unprotected0
Maintenance & Trust

UserAgent Themes Switcher Maintenance & Trust

Maintenance Signals

WordPress version tested7.0
Last updatedMar 29, 2026
PHP min version8.0
Downloads8K

Community Trust

Rating100/100
Number of ratings3
Active installs50
Developer Profile

UserAgent Themes Switcher Developer Profile

Katsushi Kawamori

54 plugins · 56K total installs

79
trust score
Avg Security Score
100/100
Avg Patch Time
178 days
View full developer profile
Detection Fingerprints

How We Detect UserAgent Themes Switcher

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/useragent-themes-switcher/useragent-themes-switcher.php

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about UserAgent Themes Switcher