VaryCache Security & Risk Analysis

wordpress.org/plugins/varycache

Advanced caching with A/B testing, geo-targeting, and speed optimizations. Serve different cached versions of pages.

0 active installs v1.2.3 PHP 7.4+ WP 5.0+ Updated Jan 10, 2026
a-b-testingcachegeo-targetingperformancepersonalization
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is VaryCache Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 7mo ago
Risk Assessment

The varycache plugin v1.2.3 exhibits a generally good security posture, demonstrating strong adherence to secure coding practices. Notably, all SQL queries utilize prepared statements, and output escaping is consistently applied across all identified outputs. The absence of any recorded vulnerabilities, critical taint flows, or dangerous functions further strengthens this positive assessment. The plugin's file operations and external HTTP requests are present but do not appear to be flagged as problematic in the static analysis, suggesting they are handled securely.

However, there are areas for improvement. The plugin presents a moderate attack surface with 9 entry points, 3 of which lack explicit authentication checks. Specifically, 3 out of 4 REST API routes do not have permission callbacks, and 3 out of 9 total entry points are unprotected. While taint analysis did not reveal critical or high-severity issues, the presence of 2 flows with unsanitized paths, even if of lower severity, warrants attention. The limited number of nonce and capability checks (5 each) relative to the entry points also suggests potential weaknesses if these entry points are exposed to unauthenticated or unauthorized users.

The complete lack of historical vulnerabilities is a significant strength and suggests a history of diligent security practices. The combination of robust internal coding standards (prepared statements, output escaping) and a clean vulnerability record indicates a plugin that is likely well-maintained and has historically prioritized security. However, the identified unprotected entry points represent a clear risk that should be addressed to further harden the plugin's security.

Key Concerns

  • REST API routes without permission callbacks
  • Unprotected entry points (AJAX/REST API)
  • Taint flows with unsanitized paths
  • Limited nonce checks relative to entry points
  • Limited capability checks relative to entry points
Vulnerabilities
None known

VaryCache Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

VaryCache Release Timeline

v1.2.3Current
v1.2.2
v1.2.1
v1.2.0
Code Analysis
Analyzed Apr 16, 2026

VaryCache Code Analysis

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

Output Escaping

100% escaped401 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
handle_save (includes/class-varycache-admin.php:120)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
3 unprotected

VaryCache Attack Surface

Entry Points9
Unprotected3

AJAX Handlers 3

authwp_ajax_varycache_clear_rest_cacheincludes/class-varycache-admin.php:30
authwp_ajax_varycache_run_preloadincludes/class-varycache-preload.php:100
authwp_ajax_varycache_stop_preloadincludes/class-varycache-preload.php:101

REST API Routes 4

GET/wp-json/varycache/v1/testincludes/class-varycache-rest-cache.php:71
GET/wp-json/varycache/v1/test/heavyincludes/class-varycache-rest-cache.php:81
GET/wp-json/varycache/v1/test/postsincludes/class-varycache-rest-cache.php:91
POST/wp-json/varycache/v1/cache/clearincludes/class-varycache-rest-cache.php:101

Shortcodes 2

[varycache_ab] varycache.php:450
[varycache_geo] varycache.php:451
WordPress Hooks 36
actionadmin_menuincludes/class-varycache-admin.php:27
actionadmin_initincludes/class-varycache-admin.php:28
actionadmin_enqueue_scriptsincludes/class-varycache-admin.php:29
filterstyle_loader_srcincludes/class-varycache-optimize.php:78
filterscript_loader_srcincludes/class-varycache-optimize.php:79
actionwp_headincludes/class-varycache-optimize.php:84
actionwp_headincludes/class-varycache-optimize.php:89
filterthe_contentincludes/class-varycache-optimize.php:98
filterpost_thumbnail_htmlincludes/class-varycache-optimize.php:99
filterwidget_textincludes/class-varycache-optimize.php:100
filterget_avatarincludes/class-varycache-optimize.php:101
filterwp_get_attachment_imageincludes/class-varycache-optimize.php:102
filterthe_excerptincludes/class-varycache-optimize.php:103
filteracf/format_value/type=imageincludes/class-varycache-optimize.php:108
filteracf/format_value/type=wysiwygincludes/class-varycache-optimize.php:109
filteracf/format_value/type=textareaincludes/class-varycache-optimize.php:110
filteracf/format_value/type=textincludes/class-varycache-optimize.php:111
filteracf/format_value/type=galleryincludes/class-varycache-optimize.php:112
filtertiny_mce_pluginsincludes/class-varycache-optimize.php:137
filterwp_resource_hintsincludes/class-varycache-optimize.php:140
filteremoji_svg_urlincludes/class-varycache-optimize.php:143
actionwp_loadedincludes/class-varycache-preload.php:97
actionrest_api_initincludes/class-varycache-rest-cache.php:58
filterrest_pre_dispatchincludes/class-varycache-rest-cache.php:61
filterrest_post_dispatchincludes/class-varycache-rest-cache.php:62
actionplugins_loadedvarycache.php:187
actioninitvarycache.php:190
actionshutdownvarycache.php:194
actionsave_postvarycache.php:197
actiondeleted_postvarycache.php:198
actionswitch_themevarycache.php:199
actionafter_rocket_clean_domainvarycache.php:202
actionafter_rocket_clean_homevarycache.php:203
actionwp_enqueue_scriptsvarycache.php:207
actioninitvarycache.php:210
actionadmin_noticesvarycache.php:216
Maintenance & Trust

VaryCache Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.5
Last updatedJan 10, 2026
PHP min version7.4
Downloads367

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

VaryCache Developer Profile

gkap186

1 plugin · 0 total installs

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

How We Detect VaryCache

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/varycache/assets/js/varycache-frontend.js/wp-content/plugins/varycache/assets/css/varycache-frontend.css
Script Paths
/wp-content/plugins/varycache/assets/js/varycache-frontend.js
Version Parameters
varycache/assets/js/varycache-frontend.js?ver=varycache/assets/css/varycache-frontend.css?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- VaryCache: Debug Start --><!-- VaryCache: Debug End -->
Data Attributes
data-varycache-iddata-varycache-urldata-varycache-variant
JS Globals
varycache_frontend_params
REST Endpoints
/wp-json/varycache/v1/cache-status
FAQ

Frequently Asked Questions about VaryCache