NinjaTeam Header Footer Custom Code Security & Risk Analysis

wordpress.org/plugins/header-footer-code

Help you easy to insert CSS and JavaScript codes to or before .

200 active installs v1.2 PHP + WP 3.0+ Updated Apr 25, 2025
custom-codefacebook-pixelfootergoogle-analyticsheader
99
A · Safe
CVEs total2
Unpatched0
Last CVEAug 15, 2024
Safety Verdict

Is NinjaTeam Header Footer Custom Code Safe to Use in 2026?

Generally Safe

Score 99/100

NinjaTeam Header Footer Custom Code has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Aug 15, 2024Updated 11mo ago
Risk Assessment

The header-footer-code plugin v1.2 exhibits a mixed security posture. On one hand, the static analysis reveals no immediately apparent dangerous functions, all SQL queries are properly prepared, and a high percentage of outputs are escaped. There are also no detected taint flows or unsanitized paths, which is positive. However, a significant concern is the complete absence of nonce checks and capability checks across all entry points, including the lack of authentication on any AJAX handlers or REST API routes. This means any user, regardless of their role or permissions, could potentially interact with the plugin's functionalities.

The vulnerability history is also a major red flag. The plugin has two known CVEs, both classified as medium severity and related to Cross-Site Scripting (XSS). While there are currently no unpatched vulnerabilities, the existence of past XSS issues, especially a recent one in August 2024, suggests a recurring pattern of input sanitization weaknesses. This history, combined with the lack of authentication checks in the code analysis, points to a significant risk of authenticated or unauthenticated XSS attacks if malicious input is processed by the plugin's code.

In conclusion, while the plugin demonstrates good practices in areas like SQL and output escaping, the lack of authentication checks and the historical prevalence of XSS vulnerabilities are critical weaknesses. Users should exercise extreme caution, and further manual code review is highly recommended to identify and mitigate potential injection points, particularly given the recent XSS history.

Key Concerns

  • No capability checks found
  • No nonce checks found
  • 2 unpatched CVEs (medium severity)
  • High percentage of outputs unescaped
Vulnerabilities
2

NinjaTeam Header Footer Custom Code Security Vulnerabilities

CVEs by Year

2 CVEs in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2024-6493medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

NinjaTeam Header Footer Custom Code < 1.2 - Authenticated (Admin+) Stored Cross-Site Scripting

Aug 15, 2024 Patched in 1.2 (9d)
CVE-2024-6617medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

NinjaTeam Header Footer Custom Code < 1.2 - Authenticated (Admin+) Stored Cross-Site Scripting via CSS Styles

Aug 15, 2024 Patched in 1.2 (9d)
Code Analysis
Analyzed Mar 16, 2026

NinjaTeam Header Footer Custom Code Code Analysis

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

Output Escaping

88% escaped8 total outputs
Attack Surface

NinjaTeam Header Footer Custom Code Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_initnjt-header-footer-injection.php:47
actionadmin_menunjt-header-footer-injection.php:49
actionadmin_enqueue_scriptsnjt-header-footer-injection.php:51
actionadmin_enqueue_scriptsnjt-header-footer-injection.php:53
actionwp_headnjt-header-footer-injection.php:55
actionwp_headnjt-header-footer-injection.php:57
actionwp_footernjt-header-footer-injection.php:59
Maintenance & Trust

NinjaTeam Header Footer Custom Code Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedApr 25, 2025
PHP min version
Downloads6K

Community Trust

Rating70/100
Number of ratings2
Active installs200
Developer Profile

NinjaTeam Header Footer Custom Code Developer Profile

Ninja Team

13 plugins · 496K total installs

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

How We Detect NinjaTeam Header Footer Custom Code

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/header-footer-code/assets/lib/codemirror/codemirror.css/wp-content/plugins/header-footer-code/assets/css/admin.css/wp-content/plugins/header-footer-code/assets/lib/codemirror/codemirror.js/wp-content/plugins/header-footer-code/assets/lib/codemirror/xml.js/wp-content/plugins/header-footer-code/assets/lib/codemirror/javascript.js/wp-content/plugins/header-footer-code/assets/lib/codemirror/css.js/wp-content/plugins/header-footer-code/assets/lib/codemirror/htmlmixed.js/wp-content/plugins/header-footer-code/assets/js/app.js
Version Parameters
header-footer-code/assets/lib/codemirror/codemirror.css?ver=header-footer-code/assets/css/admin.css?ver=header-footer-code/assets/lib/codemirror/codemirror.js?ver=header-footer-code/assets/lib/codemirror/xml.js?ver=header-footer-code/assets/lib/codemirror/javascript.js?ver=header-footer-code/assets/lib/codemirror/css.js?ver=header-footer-code/assets/lib/codemirror/htmlmixed.js?ver=header-footer-code/assets/js/app.js?ver=

HTML / DOM Fingerprints

CSS Classes
njt-hfnjt_hf_css
Data Attributes
njt_hf_headernjt_hf_footernjt_hf_css
FAQ

Frequently Asked Questions about NinjaTeam Header Footer Custom Code