
BNS Body Classes Security & Risk Analysis
wordpress.org/plugins/bns-body-classesSimple plugin that adds classes to the body_class output upon activation, including a range of date related classes.
Is BNS Body Classes Safe to Use in 2026?
Generally Safe
Score 85/100BNS Body Classes has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "bns-body-classes" plugin version 0.9 exhibits a seemingly strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface, and all identified SQL queries utilize prepared statements, indicating good database interaction practices. Furthermore, the lack of known vulnerabilities in its history suggests a history of stable and secure development. However, a critical concern arises from the output escaping signals, where 100% of outputs are not properly escaped. This represents a significant risk, as unescaped output can lead to Cross-Site Scripting (XSS) vulnerabilities. While the attack surface is currently small and no dangerous functions or unsanitized taint flows were detected, the potential for XSS due to unescaped output is a serious weakness that needs immediate attention. The plugin's limited functionality might be why it has avoided critical vulnerabilities so far, but the lack of output sanitization is a fundamental security flaw that could be exploited.
Key Concerns
- Unescaped output detected
BNS Body Classes Security Vulnerabilities
BNS Body Classes Code Analysis
Output Escaping
BNS Body Classes Attack Surface
WordPress Hooks 11
Maintenance & Trust
BNS Body Classes Maintenance & Trust
Maintenance Signals
Community Trust
BNS Body Classes Alternatives
Custom Body Class
wp-custom-body-class
A plain simple plugin which allows you to add a custom CSS class the HTML body tag.
Add Device Type to Body Class
add-device-type-to-body-class
This plugin is used to add type of device (mobile, tablet, desktop) in body class of wordpress website. This class is used to add device specific CSS.
Body Class By URL Parameter
body-class-by-url-parameter
It adds a CSS class to the body depending on the parameters included in the URL
Current Theme Body Class
current-theme-body-class
Add you current theme slug to your HTML body class for easy customization
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
insert-headers-and-footers
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.
BNS Body Classes Developer Profile
18 plugins · 2K total installs
How We Detect BNS Body Classes
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
HTML / DOM Fingerprints
plugin-bns-body-classesyear-leap-yearmonth-day-hour-new-years-evenew-years+13 more