Caching Compatible Cookie Opt-In and JavaScript Security & Risk Analysis

wordpress.org/plugins/caching-compatible-cookie-optin-and-javascript

Shows an opt-in banner and loads scripts either always or only after opt-in. Provides full compatibility with caching plugins since scripts are loaded …

20 active installs v0.0.11 PHP 7.0+ WP 5.0+ Updated Apr 16, 2025
cachecachingcookiefastest-cacheoptin
91
A · Safe
CVEs total1
Unpatched0
Last CVEJan 24, 2025
Safety Verdict

Is Caching Compatible Cookie Opt-In and JavaScript Safe to Use in 2026?

Generally Safe

Score 91/100

Caching Compatible Cookie Opt-In and JavaScript has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

1 known CVELast CVE: Jan 24, 2025Updated 1yr ago
Risk Assessment

The "caching-compatible-cookie-optin-and-javascript" plugin exhibits a mixed security posture. On the positive side, it has no reported SQL injection vulnerabilities, uses prepared statements exclusively for its queries, and has a minimal attack surface with no unprotected entry points. The absence of critical or high severity vulnerabilities in its history, and the fact that its single known CVE is patched, are also reassuring. However, a significant concern is the low percentage of properly escaped output (56%). This indicates a substantial risk of Cross-Site Scripting (XSS) vulnerabilities, as user-supplied or dynamic data might not be adequately sanitized before being displayed in the browser. The lack of nonce checks, while not directly tied to an unprotected entry point in this specific analysis, can be a contributing factor to various attack vectors if not properly managed elsewhere.

Key Concerns

  • Low percentage of properly escaped output
  • Lack of nonce checks
Vulnerabilities
1 published

Caching Compatible Cookie Opt-In and JavaScript Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-24547medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Caching Compatible Cookie Opt-In and JavaScript <= 0.0.10 - Authenticated (Contributor+) Stored Cross-Site Scripting

Jan 24, 2025 Patched in 0.0.11 (5d)
Version History

Caching Compatible Cookie Opt-In and JavaScript Release Timeline

v0.0.101 CVE
v0.0.91 CVE
v0.0.81 CVE
v0.0.71 CVE
v0.0.61 CVE
v0.0.51 CVE
v0.0.41 CVE
v0.0.31 CVE
Code Analysis
Analyzed Apr 16, 2026

Caching Compatible Cookie Opt-In and JavaScript Code Analysis

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

Output Escaping

56% escaped87 total outputs
Attack Surface

Caching Compatible Cookie Opt-In and JavaScript Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[ccco-revoke] caching-compatible-cookie-optin.php:135
[ccco-inline] caching-compatible-cookie-optin.php:136
WordPress Hooks 7
actionplugins_loadedcaching-compatible-cookie-optin.php:42
actionadmin_initcaching-compatible-cookie-optin.php:43
actioninitcaching-compatible-cookie-optin.php:44
actionadmin_menucaching-compatible-cookie-optin.php:45
actionadmin_enqueue_scriptscaching-compatible-cookie-optin.php:46
actionwp_enqueue_scriptscaching-compatible-cookie-optin.php:53
actionwp_footercaching-compatible-cookie-optin.php:54
Maintenance & Trust

Caching Compatible Cookie Opt-In and JavaScript Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedApr 16, 2025
PHP min version7.0
Downloads4K

Community Trust

Rating100/100
Number of ratings2
Active installs20
Developer Profile

Caching Compatible Cookie Opt-In and JavaScript Developer Profile

matthias.wagner

2 plugins · 6K total installs

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

How We Detect Caching Compatible Cookie Opt-In and JavaScript

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/caching-compatible-cookie-optin-and-javascript/assets/css/cccoFrontendStyle.css

HTML / DOM Fingerprints

CSS Classes
ccco-revoke-button-wrapccco-inline-containerccco-inline-buttonccco-inline-appendbuttonccco-banner-buttons
Data Attributes
data-typedata-buttontextdata-permissiondata-fallbackurldata-fallbacktextdata-html+1 more
Shortcode Output
<span class="ccco-revoke-button-wrap"></span><div class="ccco-inline-container" data-type="immediate" data-buttontext="" data-permission="base" data-fallbackurl="" data-fallbacktext="" data-html=""></div>
FAQ

Frequently Asked Questions about Caching Compatible Cookie Opt-In and JavaScript