
KGR Cookie Duration Security & Risk Analysis
wordpress.org/plugins/kgr-cookie-durationFilters the authentication cookie duration.
Is KGR Cookie Duration Safe to Use in 2026?
Generally Safe
Score 92/100KGR Cookie Duration has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "kgr-cookie-duration" v1.1 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the potential attack surface. Furthermore, the code demonstrates good practices with 100% of SQL queries using prepared statements and the presence of at least one capability check, which is a positive sign for access control. The lack of dangerous functions, file operations, and external HTTP requests further reduces common attack vectors.
However, there are areas for improvement. The output escaping is only 60% proper, meaning 40% of outputs are potentially vulnerable to cross-site scripting (XSS) if the data being output is user-controlled or untrusted. The complete absence of nonce checks and taint analysis results, while possibly indicating no exploitable issues were found, also means there's no direct evidence of robust input validation or sanitization for potential vulnerabilities. The vulnerability history is clean, which is excellent, but this doesn't negate the need for vigilance in code practices.
In conclusion, the plugin has a solid foundation with a minimal attack surface and good SQL handling. The primary concern lies with the incomplete output escaping, which poses a potential XSS risk. The lack of detected taint flows and zero known CVEs are positive indicators, but the plugin could benefit from more comprehensive input validation and sanitization measures, even if no immediate critical issues are apparent in the current analysis.
Key Concerns
- Output escaping is not fully implemented (40% unescaped)
KGR Cookie Duration Security Vulnerabilities
KGR Cookie Duration Code Analysis
Output Escaping
KGR Cookie Duration Attack Surface
WordPress Hooks 4
Maintenance & Trust
KGR Cookie Duration Maintenance & Trust
Maintenance Signals
Community Trust
KGR Cookie Duration Alternatives
No alternatives data available yet.
KGR Cookie Duration Developer Profile
4 plugins · 60 total installs
How We Detect KGR Cookie Duration
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
HTML / DOM Fingerprints
small-textid="kgr-cookie-duration-short"name="kgr-cookie-duration-short"id="kgr-cookie-duration-long"name="kgr-cookie-duration-long"label_for="kgr-cookie-duration-short"label_for="kgr-cookie-duration-long"