
NinjaTeam Header Footer Custom Code Security & Risk Analysis
wordpress.org/plugins/header-footer-codeHelp you easy to insert CSS and JavaScript codes to or before .
Is NinjaTeam Header Footer Custom Code Safe to Use in 2026?
Generally Safe
Score 99/100NinjaTeam Header Footer Custom Code has a strong security track record. Known vulnerabilities have been patched promptly.
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
NinjaTeam Header Footer Custom Code Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
NinjaTeam Header Footer Custom Code < 1.2 - Authenticated (Admin+) Stored Cross-Site Scripting
NinjaTeam Header Footer Custom Code < 1.2 - Authenticated (Admin+) Stored Cross-Site Scripting via CSS Styles
NinjaTeam Header Footer Custom Code Code Analysis
Output Escaping
NinjaTeam Header Footer Custom Code Attack Surface
WordPress Hooks 7
Maintenance & Trust
NinjaTeam Header Footer Custom Code Maintenance & Trust
Maintenance Signals
Community Trust
NinjaTeam Header Footer Custom Code Alternatives
Insert Headers And Footers
wp-headers-and-footers
Include inline javascript, stylesheets, CSS code or anything you want in Header and Footer areas of your WordPress with ease.
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts
insert-php
Insert PHP, JavaScript, CSS, HTML, ads, and tracking code into WordPress headers, footers, pages, and content using conditional logic, without editing …
Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript
add-custom-codes
Add custom codes to your wordpress site. A completely free plugin to add Custom PHP functions, HTML, CSS, Javascript, any other codes to your website.
Custom Code
custom-code
Add Custom script and CSS code to header, footer,before post and after post.
In Page Script
in-page-script
This plugin helps to add scripts into the header (before close tag </HEAD>) or the footer (before close tag </BODY>).
NinjaTeam Header Footer Custom Code Developer Profile
13 plugins · 496K total installs
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
/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.jsheader-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
njt-hfnjt_hf_cssnjt_hf_headernjt_hf_footernjt_hf_css