
Insert Headers and Footers Code – HT Script Security & Risk Analysis
wordpress.org/plugins/insert-headers-and-footers-scriptThis plugin allows you to insert Google analytic code, Facebook pixel code, custom javascript, custom style in your website's header and footer.
Is Insert Headers and Footers Code – HT Script Safe to Use in 2026?
Generally Safe
Score 98/100Insert Headers and Footers Code – HT Script has a strong security track record. Known vulnerabilities have been patched promptly.
The 'insert-headers-and-footers-script' plugin version 1.1.8 exhibits a mixed security posture. While it demonstrates good practices in its handling of SQL queries by exclusively using prepared statements and generally good output escaping (79% properly escaped), there are notable concerns. The presence of an AJAX handler without authentication checks significantly expands the attack surface and presents a direct entry point for potential unauthorized actions.
The static analysis reveals a moderate attack surface with 5 AJAX handlers, one of which lacks authorization. Although no critical or high severity taint flows were found, two flows with unsanitized paths were identified, suggesting a potential for vulnerabilities if exploited. The vulnerability history, featuring two medium severity CVEs primarily related to Cross-Site Scripting and Missing Authorization, points to a recurring pattern of authorization and input sanitization issues in past versions.
In conclusion, the plugin has some solid security foundations, particularly with its database interactions. However, the unprotected AJAX endpoint is a critical weakness that needs immediate attention. The past vulnerabilities indicate a need for continued vigilance in authorization and input handling to prevent future exploits. The overall risk is moderate, primarily driven by the unprotected AJAX endpoint and the history of authorization-related vulnerabilities.
Key Concerns
- Unprotected AJAX handler
- Flows with unsanitized paths
- Medium severity vulnerabilities in history
- Output escaping below 100%
Insert Headers and Footers Code – HT Script Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
Insert Headers and Footers Code – HT Script <= 1.1.6 - Authenticated (Author+) Stored Cross-Site Scripting
Insert Headers and Footers Code – HT Script <= 1.1.2 - Missing Authorization to Authenticated (Subscriber+) Limited Options Update
Insert Headers and Footers Code – HT Script Code Analysis
Output Escaping
Data Flow Analysis
Insert Headers and Footers Code – HT Script Attack Surface
AJAX Handlers 5
WordPress Hooks 63
Maintenance & Trust
Insert Headers and Footers Code – HT Script Maintenance & Trust
Maintenance Signals
Community Trust
Insert Headers and Footers Code – HT Script 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.
Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing
woocommerce-google-adwords-conversion-tracking-tag
Conversion tracking for WooCommerce. Google Ads, GA4, Meta/Facebook Pixel, TikTok & more. Recover 30% more conversions with server-side tracking!
Tag Manager – Header, Body And Footer
tag-manager-header-body-footer
Simple plugin that allow you add head, body and footer codes for google tag manager, analytics & facebook pixel codes.
Conversios: Google Analytics (GA4), Google Ads, Conversion and Analytics Tracking for Multi-Channels
enhanced-e-commerce-for-woocommerce-store
Track GA4 Analytics, Google Ads, Microsoft Ads, & Conversion with server-side tracking (CAPI) & product feed to improve ROAS, reports for WooCommerce.
Pixel Tag Manager for WooCommerce – Google Analytics 4, Google Ads, and More Pixels
pixel-manager-for-woocommerce
Pixel Tag Manager for WooCommerce is a powerful plugin to monitor eCommerce events with seamless integration. Track Google Analytics 4, Google Ads, Bi …
Insert Headers and Footers Code – HT Script Developer Profile
23 plugins · 64K total installs
How We Detect Insert Headers and Footers Code – HT Script
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/insert-headers-and-footers-script/assets/css/backend.css/wp-content/plugins/insert-headers-and-footers-script/assets/css/frontend.css/wp-content/plugins/insert-headers-and-footers-script/assets/js/backend.js/wp-content/plugins/insert-headers-and-footers-script/assets/js/frontend.js/wp-content/plugins/insert-headers-and-footers-script/assets/js/backend.js/wp-content/plugins/insert-headers-and-footers-script/assets/js/frontend.jsinsert-headers-and-footers-script/assets/css/backend.css?ver=insert-headers-and-footers-script/assets/css/frontend.css?ver=insert-headers-and-footers-script/assets/js/backend.js?ver=insert-headers-and-footers-script/assets/js/frontend.js?ver=HTML / DOM Fingerprints
hastech-review-notice-wraphastech-rating-notice-logohastech-review-notice-contenthastech-review-notice-actiondata-already-didHTScript_Notices