Country Caching For WP Super Cache Security & Risk Analysis

wordpress.org/plugins/country-caching-extension-for-wp-super-cache

Extends WP Super Cache to cache by page/visitor country instead of just page. Solves "wrong country content" Geo-Location issues.

200 active installs v0.8.0 PHP + WP 3.3+ Updated Mar 24, 2021
cachingcountrygeoipsuper-cachewp-super-cache
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Country Caching For WP Super Cache Safe to Use in 2026?

Generally Safe

Score 85/100

Country Caching For WP Super Cache has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The 'country-caching-extension-for-wp-super-cache' plugin version 0.8.0 presents a mixed security posture. On the positive side, the plugin has a remarkably small attack surface with no exposed AJAX handlers, REST API routes, shortcodes, or cron events that are not protected by authentication or capability checks. All SQL queries are also properly prepared, and there's a history of zero known vulnerabilities, suggesting a generally stable and secure development practice. However, several concerning code signals are present that warrant attention. The use of the deprecated `create_function` is a significant security risk as it can lead to code injection vulnerabilities if user-supplied data is not strictly sanitized before being passed to it. Furthermore, a substantial portion (72%) of output is not properly escaped, creating a high risk of Cross-Site Scripting (XSS) vulnerabilities. The taint analysis revealing unsanitized paths indicates that malicious input could potentially be used to manipulate file operations or other sensitive functions, despite the lack of critical or high severity findings in this specific analysis. The absence of any capability checks and nonce checks, while having a small attack surface, still leaves potential for unauthorized actions if any entry points were to be discovered or introduced in future updates.

Key Concerns

  • Use of dangerous function: create_function
  • High percentage of unescaped output
  • Unsanitized paths in taint analysis
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Country Caching For WP Super Cache Security Vulnerabilities

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

Country Caching For WP Super Cache Code Analysis

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

Dangerous Functions Found

create_function$notice_handler = create_function('', 'if(current_user_can(\''.str_replace("'", "\\'", $notice_cap).inc\wp-php53.php:42

Output Escaping

28% escaped67 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
render_config_panel (inc\ccwpsc_settings_form.php:327)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Country Caching For WP Super Cache Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionadmin_initcountry_cache_wpsc.php:39
actionnetwork_admin_noticescountry_cache_wpsc.php:57
actionadmin_noticescountry_cache_wpsc.php:59
actionadmin_enqueue_scriptsinc\ccwpsc_settings_form.php:18
actionnetwork_admin_noticesinc\ccwpsc_settings_form.php:27
actionadmin_noticesinc\ccwpsc_settings_form.php:28
actionnetwork_admin_noticesinc\ccwpsc_settings_form.php:128
actionadmin_noticesinc\ccwpsc_settings_form.php:129
actionnetwork_admin_menuinc\ccwpsc_settings_form.php:137
actionadmin_menuinc\ccwpsc_settings_form.php:141
actionadmin_initinc\ccwpsc_settings_form.php:145
Maintenance & Trust

Country Caching For WP Super Cache Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMar 24, 2021
PHP min version
Downloads7K

Community Trust

Rating86/100
Number of ratings4
Active installs200
Developer Profile

Country Caching For WP Super Cache Developer Profile

wrigs1

3 plugins · 410 total installs

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

How We Detect Country Caching For WP Super Cache

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/country-caching-extension-for-wp-super-cache/css/cca-textwidget.css
Version Parameters
country-caching-extension-for-wp-super-cache/style.css?ver=country-caching-extension-for-wp-super-cache/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
ccwpsc-settings-formccwpsc-settings-section
HTML Comments
<!-- BEGIN CCWPSC Settings --><!-- END CCWPSC Settings -->
Data Attributes
data-ccwpsc-country-codedata-ccwpsc-cache-group
JS Globals
window.ccwpsc_optionsvar ccwpsc_settings_nonce
Shortcode Output
[country_cache_exclude][country_cache_include]
FAQ

Frequently Asked Questions about Country Caching For WP Super Cache