CVE-2026-8832: WPCode <= 2.3.5 - Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost
smub · WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Man…
Affected: smub WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Man… · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 79% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- smub · WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Managerup to and including 2.3.5
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2026-8832 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-94cwe.mitre.org
- wordfence.com/threat-intel/vulnerabilities/id/75a2e8b1-d5e0-4f7bwordfence.com
- plugins.trac.wordpress.org/browser/insert-headers-and-footers/taplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/insert-headers-and-footers/taplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/insert-headers-and-footers/taplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/insert-headers-and-footers/taplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/insert-headers-and-footers/taplugins.trac.wordpress.org
- plugins.trac.wordpress.org/changeset/3549060/insert-headers-and-plugins.trac.wordpress.org
- plugins.trac.wordpress.org/changeset?old_path=%2Finsert-headers-plugins.trac.wordpress.org