Plugins · insert-headers-and-footers · data as of 2026-11-01
Is WPCode safe? Known vulnerabilities and latest version
- Latest version
- 2.4.1
- Last updated
- 2026-10-29
- Active installs
- 3+ million
- Known issues on record
- 1
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 7.0+
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more. — by Syed Balkhi
What to do
- Update to the latest version (2.4.1). Anything older than 2.3.6 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get insert-headers-and-footers --field=version shows what you run; wp plugin update insert-headers-and-footers updates it.
Check your version
Known vulnerabilities
1 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
high 8.8 CVE-2026-8832 · published 2026-05-27
Remote code execution in WPCode (2.3.5 and older)
- Affected
- 2.3.5 and older
- Fixed in
- 2.3.6 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 2.3.5 This is due to the 'wpcode' custom post type being registered without a custom capability_type or capability restrictions in the wpcode_register_post_type() function, allowing WordPress core to fall back to standard post capabilities for all creation paths including XML-RPC. This makes it possible for authenticated attackers, with author-level access and above, to create and publish executable PHP snippet posts via XML-RPC wp.newPost, which are then executed server-side via eval() in the run_eval() function when the snippet is rendered through the [wpcode] shortcode.
NVD CVE-2026-8832Wordfence advisoryCode change (fix)Plugin source
Recent activity
- 2026-10-29 — latest release on wordpress.org (2.4.1).
- 2026-05-27 — Remote code execution disclosed (CVE-2026-8832), fixed in 2.3.6.
Get an email when WPCode has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for WPCode (insert-headers-and-footers) is published or a fix ships. Unsubscribe in one click.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/insert-headers-and-footers (Plugins API), fetched 2026-11-01.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-01. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/insert-headers-and-footers"><img src="https://laskyr.com/plugins/insert-headers-and-footers/badge.svg" alt="WPCode vulnerability status"></a>