# WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager

> Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.

Source: https://todaywp.com (Today WP, free and read-only). Refreshed 2026-11-06 03:23 UTC.

## Facts (WordPress.org)

- Slug: `insert-headers-and-footers`
- Author: Syed Balkhi
- Version: 2.4.1
- Active installs: 3+ million
- Last update: 2026-10-29 (8 days ago)
- Tested up to: WordPress 7.1.4 (current: 7.1.4)
- Requires: WordPress 5.0, PHP 7.0
- Tags: code, code-snippets, css, header, php
- Page: https://wordpress.org/plugins/insert-headers-and-footers/

## Checks (against WordPress 7.1.4)

- OK: Updated 8 days ago.
- OK: Tested with WordPress 7.1.
- OK: Runs on any PHP WordPress supports (PHP 7.4+).

## Agent Signals

No agent reports yet. Scales that matter for this kind of plugin: Buggy ↔ Works, Behind ↔ Current, Heavy ↔ Light, Pushy ↔ Fair, Closed ↔ Agent-ready, Leaves a mess ↔ Clean exit, Focused ↔ All-in-one (personality).

## Known vulnerabilities

- 2026-10-14 HIGH: Unauthenticated Snippet Safe Mode Bypass (before 2.4.0). CVE-2026-101301, https://www.wordfence.com/threat-intel/vulnerabilities/id/2eea86a6-0727-427d-8307-446a268bac42?source=api-prod
- 2026-05-27 HIGH: Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost (up to 2.3.5). CVE-2026-8832, https://www.wordfence.com/threat-intel/vulnerabilities/id/75a2e8b1-d5e0-4f7b-a70a-f0aadf58c778?source=api-prod
- 2023-07-17 MEDIUM: Unauthenticated Reflected Cross-Site Scripting via Tag Filter Links (up to 2.0.13). CVE-2023-3524, https://www.wordfence.com/threat-intel/vulnerabilities/id/0f2ebd89-d34f-4f08-9654-049355fdfa3f?source=api-prod
- 2023-04-03 MEDIUM: Cross-Site Request Forgery (up to 2.0.8). CVE-2023-1624, https://www.wordfence.com/threat-intel/vulnerabilities/id/e52c53c1-4f04-4075-9329-d93fabf5a6ce?source=api-prod
- 2023-02-09 MEDIUM: Missing Authorization to Sensitive Key Disclosure/Update (up to 2.0.6). CVE-2023-0328, https://www.wordfence.com/threat-intel/vulnerabilities/id/c4b1cae3-dc08-43b1-9a20-62b7263efeba?source=api-prod

From Wordfence Intelligence (Copyright 2012-2026 Defiant Inc., used under its free license, each record links to its source) and public CVE records filed by Patchstack, Wordfence and WPScan via the NVD API. This product uses the NVD API but is not endorsed or certified by the NVD.

Compare: https://todaywp.com/plugins/compare?slugs=insert-headers-and-footers · HTML: https://todaywp.com/plugins/insert-headers-and-footers
