Post Country Security & Risk Analysis

wordpress.org/plugins/post-country

This plug-in allows you to record a country against your posts.

10 active installs v2.4 PHP + WP 2.5+ Updated Oct 21, 2013
countryflagsimagessearchwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Post Country Safe to Use in 2026?

Generally Safe

Score 85/100

Post Country has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "post-country" plugin v2.4 exhibits a generally positive security posture based on the static analysis. It has no recorded vulnerabilities (CVEs) and a clean vulnerability history, suggesting a commitment to security by the developers or a lack of significant past issues. The absence of dangerous functions, file operations, and external HTTP requests are all good indicators. Notably, the plugin has only one nonce check and one capability check, which, while present, could be considered minimal, especially given the lack of identified entry points in the static analysis.

However, a significant concern arises from the output escaping results: 100% of outputs are not properly escaped. This indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any data displayed by the plugin, if not inherently sanitized before reaching the output functions, could be exploited by attackers to inject malicious scripts. The presence of SQL queries, even if 50% use prepared statements, warrants attention, as the unescaped outputs could potentially affect the data being queried or displayed, leading to other related vulnerabilities. The lack of any identified taint flows is reassuring, but this could also be a limitation of the analysis tool or the complexity of the code being analyzed.

In conclusion, while the plugin's lack of history and minimal attack surface are strengths, the complete lack of output escaping is a critical weakness. This single oversight significantly elevates the risk profile. The developer should prioritize addressing the output escaping issue to mitigate the substantial XSS risk. The minimal authentication checks are less concerning given the zero identified unprotected entry points, but this aspect could be reviewed if more entry points were ever introduced.

Key Concerns

  • All outputs unescaped
  • SQL queries not fully prepared
  • Minimal nonce and capability checks
Vulnerabilities
None known

Post Country Security Vulnerabilities

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

Post Country Code Analysis

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

SQL Query Safety

50% prepared2 total queries

Output Escaping

0% escaped17 total outputs
Attack Surface

Post Country Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
filterposts_joincountry.php:12
filterposts_wherecountry.php:13
filterposts_groupbycountry.php:14
filterquery_varscountry.php:15
actiongenerate_rewrite_rulescountry.php:16
actionplugins_loadedcountry.php:17
filtermanage_posts_columnscountry.php:195
actionmanage_posts_custom_columncountry.php:208
actionadd_meta_boxescountry.php:247
actionsave_postcountry.php:279
actionadmin_menucountry.php:367
actionadmin_enqueue_scriptscountry.php:374
filterplugin_row_metacountry.php:381
Maintenance & Trust

Post Country Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedOct 21, 2013
PHP min version
Downloads7K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Post Country Developer Profile

peterwsterling

4 plugins · 180 total installs

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

How We Detect Post Country

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

Asset Fingerprints

Script Paths
/wp-content/plugins/post-country/js/post-country.js
Version Parameters
post-country/js/post-country.js?ver=

HTML / DOM Fingerprints

CSS Classes
country_img
Data Attributes
name="countryform"id="country"class="postform"name="country-page"
JS Globals
window.location
FAQ

Frequently Asked Questions about Post Country