PLUGIN SECURITY
Is Insert Headers And Footers safe?
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.
What this plugin does
- Slug:
insert-headers-and-footers - Author: Syed Balkhi
- 3000000+ active installs
- 98/100 rating (1868 reviews on wordpress.org)
- 91189790 all-time downloads
- On WordPress.org since 2012-07-12
codecode-snippetscssheaderphp
Maintenance status
- Latest known version: 2.3.8
- Last updated: 2026-07-23 12:14pm GMT
- Tested up to WordPress: 7.0.4
- Requires PHP: 7.0+
- Max supported PHP (analyzed): 8.4
Known vulnerabilities
4 known CVEs on file for Insert Headers And Footers. Reported between 2023 and 2026.
| CVE | Vulnerability | Type | Severity | Affected | Fixed in | Published | Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-8832 | WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager [insert-headers-and-footers] < 2.3.6 | Improper Control of Generation of Code ('Code Injection') | High 8.8 | < 2.3.6 | 2.3.6 | 2026-05-26 | ✓ fixed in latest |
| CVE-2023-3524 | WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager [insert-headers-and-footers] < 2.0.13.1 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | Medium 6.1 | < 2.0.13.1 | 2.0.13.1 | 2023-07-17 | ✓ fixed in latest |
| CVE-2023-1624 | WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager [insert-headers-and-footers] < 2.0.9 | Cross-Site Request Forgery (CSRF) | Medium 6.5 | < 2.0.9 | 2.0.9 | 2023-04-03 | ✓ fixed in latest |
| CVE-2023-0328 | WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager [insert-headers-and-footers] < 2.0.7 | Incorrect Authorization | Medium 4.3 | < 2.0.7 | 2.0.7 | 2023-02-09 | ✓ fixed in latest |
How to fix it
Keep Insert Headers And Footers updated — 2.3.8 is the latest version on wordpress.org, and each CVE above lists the exact release that fixed it ("Fixed in").
This is the plugin's full known vulnerability history, not a scan of any specific installation — run a free scan of your own site to check your exact installed version.
Safer / more established alternatives
- Code Snippets — 1000000+ active installs — 94/100 (509) — max PHP 8.4
- Head & Footer Code — 100000+ active installs — 100/100 (51) — max PHP 8.4
- Simple Custom CSS Plugin — 100000+ active installs — 94/100 (159)
- Shortcoder — Create Shortcodes for Anything — 100000+ active installs — 98/100 (226)
- Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts — 60000+ active installs — 90/100 (221)
Check your own WordPress site
Run a free passive scan now, or create a free account and install the WP Clinic plugin for a deep scan of your whole hosting account and AI-assisted repair.