BNS Body Classes Security & Risk Analysis

wordpress.org/plugins/bns-body-classes

Simple plugin that adds classes to the body_class output upon activation, including a range of date related classes.

10 active installs v0.9 PHP + WP 3.0+ Updated Apr 10, 2016
bodycssholidaysplugin-onlyseasonal
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is BNS Body Classes Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

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
Vulnerabilities
None known

BNS Body Classes Security Vulnerabilities

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

BNS Body Classes Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

BNS Body Classes Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
filterbody_classbns-body-classes.php:81
filterbnsbc_more_classesbnsbc-2015-christian-calendar.php:173
filterbnsbc_more_classesbnsbc-2015-jewish-calendar.php:164
filterbnsbc_more_classesbnsbc-2015-muslim-calendar.php:123
filterbnsbc_more_classesbnsbc-2016-christian-calendar.php:170
filterbnsbc_more_classesbnsbc-2016-jewish-calendar.php:182
filterbnsbc_more_classesbnsbc-2016-muslim-calendar.php:140
filterbnsbc_more_classesbnsbc-calendar-sample.php:1238
actionadmin_menubnsbc-options.php:60
actionadmin_initbnsbc-options.php:120
filterbody_classbnsbc-options.php:250
Maintenance & Trust

BNS Body Classes Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedApr 10, 2016
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

BNS Body Classes Developer Profile

tacticais

18 plugins · 2K total installs

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

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

CSS Classes
plugin-bns-body-classesyear-leap-yearmonth-day-hour-new-years-evenew-years+13 more
FAQ

Frequently Asked Questions about BNS Body Classes