Cache-Control Security & Risk Analysis

wordpress.org/plugins/cache-control

Configurable HTTP Cache-Control response headers for webpages generated by WordPress.

1K active installs v2.2.5 PHP + WP 4.4.1+ Updated Aug 30, 2019
cache-controlcachinghttpperformance
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Cache-Control Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The "cache-control" plugin v2.2.5 exhibits a strong security posture based on the provided static analysis and vulnerability history. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events, especially those lacking authentication, indicates a minimal attack surface. The code also demonstrates good practices by exclusively using prepared statements for SQL queries and implementing a nonce check and capability checks. The taint analysis revealing no unsanitized paths or critical/high severity flows further reinforces its security. The plugin's clean vulnerability history with zero known CVEs suggests a commitment to security maintenance by its developers.

While the code shows positive security indicators, a notable concern lies in the output escaping. With 41% of outputs properly escaped, there is a significant portion (59%) that is not. This could potentially lead to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is not properly sanitized before being displayed to users. Despite the overall good security practices and lack of historical vulnerabilities, this escaping issue represents the most immediate area for improvement and potential risk.

Key Concerns

  • Insufficient output escaping detected
Vulnerabilities
None known

Cache-Control Security Vulnerabilities

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

Cache-Control Code Analysis

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

Output Escaping

41% escaped34 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
cache_control_options_page (admin.php:73)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Cache-Control Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
filterplugin_row_metaadmin.php:27
actionadmin_menuadmin.php:43
actiontemplate_redirectcache-control.php:371
filterwp_redirect_statuscache-control.php:395
actioninitcache-control.php:403
Maintenance & Trust

Cache-Control Maintenance & Trust

Maintenance Signals

WordPress version tested5.2.24
Last updatedAug 30, 2019
PHP min version
Downloads99K

Community Trust

Rating100/100
Number of ratings6
Active installs1K
Developer Profile

Cache-Control Developer Profile

Dan

1 plugin · 1K total installs

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

How We Detect Cache-Control

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/cache-control/assets/js/admin.js/wp-content/plugins/cache-control/assets/css/admin.css
Script Paths
/wp-content/plugins/cache-control/assets/js/admin.js
Version Parameters
cache-control/assets/js/admin.js?ver=cache-control/assets/css/admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
cache-control-settings-section
FAQ

Frequently Asked Questions about Cache-Control