WP247 Body Classes Security & Risk Analysis

wordpress.org/plugins/wp247-body-classes

Add unique classes to the body tag for easy styling based on various attributes (archive, user, post, mobile, scrolling) and WordPress "is" …

200 active installs v2.2.0 PHP + WP 4.0+ Updated May 24, 2024
mobilepost-typescrolluser-capabilitiesuser-roles
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WP247 Body Classes Safe to Use in 2026?

Generally Safe

Score 92/100

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

No known CVEs Updated 1yr ago
Risk Assessment

The wp247-body-classes plugin v2.2.0 demonstrates a generally good security posture based on the provided static analysis. The absence of any identified vulnerabilities in its history, coupled with the use of prepared statements for all SQL queries, nonces, and capability checks on its single AJAX handler, are positive indicators. The plugin also avoids dangerous functions, file operations, and external HTTP requests, further reducing its attack surface.

However, a significant concern arises from the low percentage of properly escaped output (29%). This suggests a substantial risk of cross-site scripting (XSS) vulnerabilities, as user-supplied data or dynamic content displayed within the plugin's output may not be adequately sanitized, potentially allowing attackers to inject malicious scripts. While no critical or high severity taint flows were found, the unescaped output remains a significant weakness.

In conclusion, the plugin has strong foundational security practices in place, particularly regarding data handling and access control. The lack of historical vulnerabilities is encouraging. Nevertheless, the widespread issue with output escaping presents a tangible and potentially exploitable risk that requires immediate attention to mitigate XSS vulnerabilities.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

WP247 Body Classes Security Vulnerabilities

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

WP247 Body Classes Release Timeline

v2.2.1
v2.2.0Current
v2.1.2
v2.1.1
v2.1
v2.0.1
v2.0
v1.1.3
v1.1.2
v1.1.1
v1.1
v1.0.3
v1.0.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

WP247 Body Classes Code Analysis

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

Output Escaping

29% escaped65 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
do_action_wp247xns_client_corequisite_notice_dismiss (admin\wp247xns-client-corequisite-notice\wp247xns-client-corequisite-notice.php:167)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP247 Body Classes Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_wp247xns_client_corequisite_notice_dismissadmin\wp247xns-client-corequisite-notice\wp247xns-client-corequisite-notice.php:182
WordPress Hooks 15
actionadmin_enqueue_scriptsadmin\wp247-settings-api\wp247-settings-api.class.php:117
actionadmin_headadmin\wp247-settings-api\wp247-settings-api.class.php:118
actionadmin_menuadmin\wp247-settings-api\wp247-settings-api.class.php:119
actionadmin_initadmin\wp247-settings-api\wp247-settings-api.class.php:120
actionadmin_noticesadmin\wp247xns-client-corequisite-notice\wp247xns-client-corequisite-notice.php:86
actionadmin_enqueue_scriptsadmin\wp247xns-client-corequisite-notice\wp247xns-client-corequisite-notice.php:180
actionadmin_headadmin\wp247xns-client-corequisite-notice\wp247xns-client-corequisite-notice.php:181
actionwp_loadedwp247-body-classes.php:71
actionwp_headwp247-body-classes.php:72
actionwp_footerwp247-body-classes.php:73
filterbody_classwp247-body-classes.php:74
actionload-post.phpwp247-body-classes.php:83
actionload-post-new.phpwp247-body-classes.php:84
actionadd_meta_boxeswp247-body-classes.php:97
actionsave_postwp247-body-classes.php:98
Maintenance & Trust

WP247 Body Classes Maintenance & Trust

Maintenance Signals

WordPress version tested6.5.8
Last updatedMay 24, 2024
PHP min version
Downloads8K

Community Trust

Rating90/100
Number of ratings6
Active installs200
Developer Profile

WP247 Body Classes Developer Profile

wescleveland

5 plugins · 240 total installs

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

How We Detect WP247 Body Classes

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp247-body-classes/js/wp247-body-classes.js/wp-content/plugins/wp247-body-classes/css/wp247-body-classes.css
Script Paths
wp247-body-classes/js/wp247-body-classes.js
Version Parameters
wp247-body-classes/js/wp247-body-classes.js?ver=wp247-body-classes/css/wp247-body-classes.css?ver=

HTML / DOM Fingerprints

CSS Classes
is-scrollis-not-scrollis-scroll-topis-not-scroll-topis-scroll-top-pxis-scroll-mid-pxis-scroll-n-pxis-scroll-max-px+1 more
HTML Comments
wp247-body-classes Custom CSS
Data Attributes
wp247-body-classes-post-body-classes
JS Globals
wp247_body_classes_multipage_optionswp247_body_classes_debugwp247_mobile_detectWP247_BODY_CLASSES_DEBUGWP247_BODY_CLASSES_VERSIONWP247_BODY_CLASSES_PLUGIN_PATH+6 more
FAQ

Frequently Asked Questions about WP247 Body Classes