
LH Add Roles to Body Class Security & Risk Analysis
wordpress.org/plugins/lh-add-roles-to-body-classAdds the currently logged in users role (or roles) to the body class in both the front and back end.
Is LH Add Roles to Body Class Safe to Use in 2026?
Generally Safe
Score 85/100LH Add Roles to Body Class has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
Based on the provided static analysis and vulnerability history, the "lh-add-roles-to-body-class" plugin exhibits a strong security posture. The attack surface appears minimal, with no identified AJAX handlers, REST API routes, shortcodes, or cron events, and crucially, none of these entry points are unprotected. The code also adheres to secure coding practices, demonstrating no dangerous functions, exclusively using prepared statements for SQL queries, and properly escaping all output. There are no identified file operations or external HTTP requests, further reducing potential risks. The absence of any recorded vulnerabilities in its history, including critical or high severity ones, further reinforces this positive assessment.
LH Add Roles to Body Class Security Vulnerabilities
LH Add Roles to Body Class Code Analysis
LH Add Roles to Body Class Attack Surface
WordPress Hooks 3
Maintenance & Trust
LH Add Roles to Body Class Maintenance & Trust
Maintenance Signals
Community Trust
LH Add Roles to Body Class Alternatives
Quicktags for WP
wp-quicktags
This simple plugin adds useful buttons to the native WordPress HTML editor.
Custom Body Class
wp-custom-body-class
A plain simple plugin which allows you to add a custom CSS class the HTML body tag.
TCD Classic Editor
tcd-classic-editor
This is a classic editor extension plug-in for TCD users. It is currently offered as a beta board.
Menu By User Roles
menu-by-user-roles
Menu By User Roles allows you to control the visibility of menu items based on user roles.
Widget Classes
widget-classes
Widget Classes allows you to add classes to your individual widgets to be used by your theme. This is done by appending an additional form field to th …
LH Add Roles to Body Class Developer Profile
77 plugins · 15K total installs
How We Detect LH Add Roles to Body Class
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
HTML / DOM Fingerprints
role-user_id-