Average Head & Footer Code Security & Risk Analysis

wordpress.org/plugins/average-head-footer-code

Easily add code to your head and/or footer, site-wide and/or on any individual page/post.

100 active installs v1.1 PHP + WP 3.0.1+ Updated Dec 4, 2014
footerfooter-codeheadhead-code
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Average Head & Footer Code Safe to Use in 2026?

Generally Safe

Score 85/100

Average Head & Footer Code has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "average-head-footer-code" plugin v1.1 exhibits a generally good security posture based on the provided static analysis and vulnerability history. The absence of any known CVEs, unpatched vulnerabilities, or recorded common vulnerability types is a significant strength. Furthermore, the code analysis reveals no dangerous functions, no direct SQL queries without prepared statements, no file operations, and no external HTTP requests. The presence of nonce and capability checks, while limited in number, indicates an awareness of secure coding practices.

However, a notable concern lies in the output escaping. With 12 total outputs and only 17% properly escaped, there is a significant risk of cross-site scripting (XSS) vulnerabilities. This means that data displayed to users might not be sufficiently sanitized, allowing attackers to inject malicious scripts. The taint analysis showing zero flows with unsanitized paths is a positive indicator, but it doesn't fully negate the risk posed by insufficient output escaping. The plugin also has a minimal attack surface with no apparent unprotected entry points, which is commendable.

In conclusion, while the plugin benefits from a clean vulnerability history and a lack of common risky code patterns, the low percentage of properly escaped output presents a tangible security risk that needs immediate attention. Addressing this output escaping issue would significantly bolster the plugin's security.

Key Concerns

  • Insufficient output escaping
Vulnerabilities
None known

Average Head & Footer Code Security Vulnerabilities

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

Average Head & Footer Code Code Analysis

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

Output Escaping

17% escaped12 total outputs
Attack Surface

Average Head & Footer Code Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionadmin_initaverage-head-footer-code.php:69
actionadmin_menuaverage-head-footer-code.php:70
actionwp_headaverage-head-footer-code.php:72
actionwp_footeraverage-head-footer-code.php:73
actionadd_meta_boxesaverage-head-footer-code.php:84
actionsave_postaverage-head-footer-code.php:108
actionwp_headaverage-head-footer-code.php:132
actionwp_footeraverage-head-footer-code.php:138
Maintenance & Trust

Average Head & Footer Code Maintenance & Trust

Maintenance Signals

WordPress version tested4.0.38
Last updatedDec 4, 2014
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings2
Active installs100
Developer Profile

Average Head & Footer Code Developer Profile

average.technology

2 plugins · 110 total installs

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

How We Detect Average Head & Footer Code

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
large-textcode
Data Attributes
name="avrghdftrcd_head_code"id="avrghdftrcd_head_code"name="avrghdftrcd_footer_code"id="avrghdftrcd_footer_code"name="meta_box_nonce"id="avrghdftrcd_options_form"+5 more
JS Globals
avrghdftrcd_nonce
FAQ

Frequently Asked Questions about Average Head & Footer Code