Browser Body Classes with Shortcodes Security & Risk Analysis

wordpress.org/plugins/browser-body-classes-with-shortcodes

Adds browser-specific body classes for styling, and shortcodes to show or hide content to/from specified browsers and devices.

10 active installs v1.6 PHP + WP 3.3+ Updated May 9, 2014
body-classesbrowserbrowser-body-classesclassclasses
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Browser Body Classes with Shortcodes Safe to Use in 2026?

Generally Safe

Score 85/100

Browser Body Classes with Shortcodes has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The plugin "browser-body-classes-with-shortcodes" v1.6 exhibits a generally good security posture based on the provided static analysis. There are no known vulnerabilities in its history, no dangerous functions are used, and all SQL queries are properly prepared. The attack surface is minimal, with only two shortcodes and no unprotected entry points identified. The plugin also implements capability checks, which is a positive sign for access control.

However, a significant concern arises from the complete lack of output escaping. With seven outputs identified and none being properly escaped, this presents a clear Cross-Site Scripting (XSS) risk. Any data processed or displayed by these outputs could be manipulated by an attacker to inject malicious scripts, potentially compromising user sessions or defacing the website. The absence of taint analysis results and the lack of nonce checks on AJAX handlers (though there are no AJAX handlers) also represent missed opportunities to further harden the plugin against potential attacks.

In conclusion, while the plugin demonstrates strengths in areas like SQL security and a limited attack surface, the unescaped output is a critical weakness that needs immediate attention. The lack of known vulnerabilities is a positive indicator, but it does not negate the inherent risks posed by unescaped user-controlled data. Addressing the output escaping issue is paramount to improving the plugin's security.

Key Concerns

  • Outputs not properly escaped
Vulnerabilities
None known

Browser Body Classes with Shortcodes Security Vulnerabilities

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

Browser Body Classes with Shortcodes Code Analysis

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

Output Escaping

0% escaped7 total outputs
Attack Surface

Browser Body Classes with Shortcodes Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[showto] browser-body-classes-with-shortcodes.php:265
[hidefrom] browser-body-classes-with-shortcodes.php:279
WordPress Hooks 13
filterbody_classbrowser-body-classes-with-shortcodes.php:46
filterbody_classbrowser-body-classes-with-shortcodes.php:112
filterbody_classbrowser-body-classes-with-shortcodes.php:130
filterbody_classbrowser-body-classes-with-shortcodes.php:147
filterbody_classbrowser-body-classes-with-shortcodes.php:166
filterbody_classbrowser-body-classes-with-shortcodes.php:209
actionadmin_enqueue_scriptsbrowser-body-classes-with-shortcodes.php:297
actionadmin_headbrowser-body-classes-with-shortcodes.php:300
filtermce_external_pluginsbrowser-body-classes-with-shortcodes.php:309
actionadmin_initbrowser-body-classes-with-shortcodes.php:351
actionadmin_menubrowser-body-classes-with-shortcodes.php:352
filterplugin_action_linksbrowser-body-classes-with-shortcodes.php:353
actionadd_meta_boxesincludes\ssbbc-shortcode-generator.php:4
Maintenance & Trust

Browser Body Classes with Shortcodes Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedMay 9, 2014
PHP min version
Downloads9K

Community Trust

Rating100/100
Number of ratings4
Active installs10
Developer Profile

Browser Body Classes with Shortcodes Developer Profile

thomstark

5 plugins · 130 total installs

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

How We Detect Browser Body Classes with Shortcodes

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
firefoxchromesafarioperamaxthonmsiens4lynx+33 more
JS Globals
is_geckois_chromeis_safariis_operais_maxthonis_IE+34 more
Shortcode Output
showto
FAQ

Frequently Asked Questions about Browser Body Classes with Shortcodes