WP Country Class In Body Tag Security & Risk Analysis

wordpress.org/plugins/wp-country-class-in-body-tag

This plugin is developed to add visitor's country class on the body tag of the page to use in displaying country based content on the website! By …

10 active installs v1.0.2 PHP 5.2.4+ WP 4.0.1+ Updated May 14, 2018
body-tagcountry-namesdevelopers
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Country Class In Body Tag Safe to Use in 2026?

Generally Safe

Score 85/100

WP Country Class In Body Tag has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The 'wp-country-class-in-body-tag' v1.0.2 plugin exhibits a mixed security posture. On the positive side, it has a very small attack surface with no identified AJAX handlers, REST API routes, shortcodes, or cron events that are directly exploitable without authentication. Furthermore, all SQL queries are properly prepared, and there are no known vulnerabilities (CVEs) associated with this plugin, suggesting a history of reasonable security. However, significant concerns arise from the code analysis. The plugin has 4 output points, none of which are properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities where user-supplied data could be injected and executed in the browser. The taint analysis reveals 2 flows with unsanitized paths, which, while not classified as critical or high severity, still points to potential insecure data handling that could be exploited if combined with other weaknesses.

Key Concerns

  • Output escaping is critically missing (4/4 outputs)
  • Taint analysis found 2 unsanitized path flows
Vulnerabilities
None known

WP Country Class In Body Tag Security Vulnerabilities

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

WP Country Class In Body Tag Code Analysis

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

Output Escaping

0% escaped4 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
wpccbks_ip_info (wp-countryclass.php:28)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Country Class In Body Tag Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_menuwp-countryclass.php:17
filterbody_classwp-countryclass.php:25
Maintenance & Trust

WP Country Class In Body Tag Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMay 14, 2018
PHP min version5.2.4
Downloads20K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Country Class In Body Tag Developer Profile

kashanshah

4 plugins · 60 total installs

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

How We Detect WP Country Class In Body Tag

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
wpcountryclass-detectedwpcountryclass-not-detected
FAQ

Frequently Asked Questions about WP Country Class In Body Tag