Slug as body class Security & Risk Analysis

wordpress.org/plugins/slug-as-body-class

Add a unique class to the body tag for easy styling of individual pages

100 active installs v1.0 PHP + WP 3.7+ Updated Aug 11, 2014
bodyclassslugurl
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Slug as body class Safe to Use in 2026?

Generally Safe

Score 85/100

Slug as body class 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 'slug-as-body-class' plugin version 1.0 presents an excellent security posture based on the provided static analysis. The absence of any identified dangerous functions, external HTTP requests, file operations, or SQL queries that don't utilize prepared statements indicates robust coding practices. Furthermore, the complete lack of identified taint flows with unsanitized paths and the 100% output escaping further solidify its secure foundation. The vulnerability history is also clean, with zero known CVEs, which suggests a history of secure development and maintenance for this plugin. This combination of strong code-level security signals and an unblemished vulnerability record points to a plugin that is highly unlikely to introduce security risks to a WordPress site.

Vulnerabilities
None known

Slug as body class Security Vulnerabilities

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

Slug as body class Code Analysis

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

Slug as body class Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
filterbody_classslug-as-body-class.php:9
Maintenance & Trust

Slug as body class Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedAug 11, 2014
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings6
Active installs100
Developer Profile

Slug as body class Developer Profile

Carlo Roosen

5 plugins · 140 total installs

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

How We Detect Slug as body class

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
post-type-post_namepage-post_nameattachment-post_name
FAQ

Frequently Asked Questions about Slug as body class