Far Future Expiry Header Security & Risk Analysis

wordpress.org/plugins/far-future-expiry-header

This plugin will add a far future expiry header for various file types to improve page load speed of your site

7K active installs v1.6 PHP + WP 5.5+ Updated Dec 2, 2025
cacheexpires-headerexpiryexpiry-headerfar-future-expiration
100
A · Safe
CVEs total1
Unpatched0
Last CVEOct 4, 2021
Safety Verdict

Is Far Future Expiry Header Safe to Use in 2026?

Generally Safe

Score 100/100

Far Future Expiry Header has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Oct 4, 2021Updated 4mo ago
Risk Assessment

The "far-future-expiry-header" plugin, version 1.6, exhibits a mixed security posture. On the positive side, it demonstrates good practices by having no apparent AJAX handlers, REST API routes, shortcodes, or cron events, significantly limiting its attack surface. The code analysis also indicates a lack of dangerous functions and that all SQL queries utilize prepared statements, which are strong indicators of secure coding. Furthermore, there are no external HTTP requests and no known unpatched vulnerabilities at this time.

However, several concerns emerge from the static analysis. The most significant is that 100% of the 3 identified output escapings are not properly escaped, presenting a potential risk for cross-site scripting (XSS) vulnerabilities if the output is user-controlled or derived from untrusted sources. While the taint analysis shows no critical or high severity flows with unsanitized paths, the presence of 9 file operations could be a concern if not handled with extreme care, especially in conjunction with the unescaped output. The vulnerability history reveals a past CVE, though it is now patched and was of medium severity, suggesting that while the developers have addressed issues, there's a history of vulnerabilities that warrants ongoing vigilance.

In conclusion, the plugin has a limited attack surface and good foundational security practices like prepared statements. The primary weakness lies in the lack of output escaping, which requires immediate attention. The past vulnerability, while resolved, underscores the importance of continued security reviews. Overall, it's a plugin with strengths in limiting entry points but a critical flaw in output sanitization that elevates its risk profile.

Key Concerns

  • Unescaped output found
  • 1 medium severity CVE in history
  • Potentially risky file operations
Vulnerabilities
1

Far Future Expiry Header Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2021-24799medium · 4.3Cross-Site Request Forgery (CSRF)

Far Future Expiry Header <= 1.4 - Plugin's Settings Update via Cross-Site Request Forgery

Oct 4, 2021 Patched in 1.5 (841d)
Code Analysis
Analyzed Mar 16, 2026

Far Future Expiry Header Code Analysis

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

Output Escaping

0% escaped3 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
displayFarFutureExpirationSettings (far-future-expiration-settings.php:2)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Far Future Expiry Header Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionplugins_loadedfar-future-expiration.php:40
actioninitfar-future-expiration.php:45
actioninitfar-future-expiration.php:46
actionadmin_initfar-future-expiration.php:47
actionadmin_menufar-future-expiration.php:48
filterplugin_action_linksfar-future-expiration.php:344
Maintenance & Trust

Far Future Expiry Header Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 2, 2025
PHP min version
Downloads230K

Community Trust

Rating64/100
Number of ratings31
Active installs7K
Developer Profile

Far Future Expiry Header Developer Profile

mra13

15 plugins · 210K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
629 days
View full developer profile
Detection Fingerprints

How We Detect Far Future Expiry Header

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/far-future-expiry-header/css/admin-style.css/wp-content/plugins/far-future-expiry-header/css/style.css/wp-content/plugins/far-future-expiry-header/js/admin-scripts.js/wp-content/plugins/far-future-expiry-header/js/scripts.js
Script Paths
/wp-content/plugins/far-future-expiry-header/js/admin-scripts.js/wp-content/plugins/far-future-expiry-header/js/scripts.js

HTML / DOM Fingerprints

CSS Classes
ffep_admin_settings_table
HTML Comments
<!-- far-future-expiration-settings --><!-- end-far-future-expiration-settings --><!-- far-future-expiration --><!-- end-far-future-expiration -->
Data Attributes
data-ffep-enabled
JS Globals
var ffep_admin_script_varsvar ffep_admin_script_vars_obj
FAQ

Frequently Asked Questions about Far Future Expiry Header