Header and Footer Snippets Security & Risk Analysis

wordpress.org/plugins/header-and-footer-snippets

Add snippets to the header and footer of your site..

10 active installs v0.9 PHP + WP 3.5.0+ Updated Oct 22, 2017
cssfooterheaderjavascript
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Header and Footer Snippets Safe to Use in 2026?

Generally Safe

Score 85/100

Header and Footer Snippets has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The header-and-footer-snippets plugin v0.9 exhibits a generally strong security posture based on the provided static analysis. There are no identified entry points like AJAX handlers, REST API routes, or shortcodes that are unprotected, which significantly reduces the attack surface. The code also demonstrates good practices by using prepared statements for all SQL queries, performing file operations safely (none found), and making no external HTTP requests. The presence of nonce and capability checks, while only one each, indicates an awareness of security best practices for potential privileged operations.

However, a significant concern arises from the output escaping. With 26 total outputs and only 42% properly escaped, there is a substantial risk of cross-site scripting (XSS) vulnerabilities. This means that user-supplied data or data processed by the plugin could potentially be rendered in the browser without adequate sanitization, allowing attackers to inject malicious scripts. The taint analysis shows no unsanitized paths, which is positive, but this does not negate the risk posed by the lack of output escaping.

The plugin's vulnerability history is clean, with zero recorded CVEs. This, coupled with the absence of critical or high-severity taint flows, suggests that the developers have maintained a good track record and that the plugin, in its current state, does not appear to have publicly known or severe exploitable flaws. The strengths lie in its limited attack surface and secure data handling for SQL and file operations. The primary weakness is the insufficient output escaping, which presents a direct security risk.

Key Concerns

  • Insufficient output escaping
Vulnerabilities
None known

Header and Footer Snippets Security Vulnerabilities

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

Header and Footer Snippets Code Analysis

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

Output Escaping

42% escaped26 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<headandfoot> (headandfoot.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Header and Footer Snippets Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
actionadmin_footerheadandfoot.php:35
actionadmin_headheadandfoot.php:41
actionadmin_footerheadandfoot.php:47
actionwp_enqueue_scriptsheadandfoot.php:54
actionsave_postheadandfoot.php:60
actionadd_meta_boxesheadandfoot.php:66
actionadmin_menuheadandfoot.php:73
actionwp_headheadandfoot.php:291
actionwp_footerheadandfoot.php:330
actionwp_headheadandfoot.php:365
actionwp_footerheadandfoot.php:396
actionadmin_initheadandfoot.php:492
filterfooter_snippetsheadandfoot.php:511
filterheader_snippetsheadandfoot.php:516
Maintenance & Trust

Header and Footer Snippets Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedOct 22, 2017
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Header and Footer Snippets Developer Profile

Verb_Form04

3 plugins · 30 total installs

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

How We Detect Header and Footer Snippets

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
headandfoot_admin
Data Attributes
name="header_snippets"name="hs_priority"name="footer_snippets"name="fs_priority"id="hs_ta"id="fs_ta"
FAQ

Frequently Asked Questions about Header and Footer Snippets