CVE-2026-8832
Last modified
CVE-2026-8832 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 1.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-8832?
How severe is CVE-2026-8832?
How do I fix CVE-2026-8832?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8823Mattermost versions 11.7.x <= 11.7.0, 10.11.x <= 10.11.17 fa…3.8
- CVE-2026-8825The Elementor Website Builder WordPress plugin before 4.1.4…4.9
- CVE-2026-8827The AddressRepository::getSqlQuery() method constructs a dat…8.2
- CVE-2026-8828A lack of authorization validation in version 1.0.0 or later…8.8
- CVE-2026-8829HTML::Entities versions before 3.84 for Perl read freed heap…7.5
- CVE-2026-8830A flaw was found in Keycloak. An authenticated user can bypa…4.3
- CVE-2026-8833Improper neutralization of HTML-encoded characters in the UR…5.4
- CVE-2026-8834IBM HTTP Server 8.5, and 9.0 contains a buffer overflow vuln…8
- CVE-2026-8835IBM HTTP Server 8.5, and 9.0 is vulnerable to invalid pointe…7.3
- CVE-2026-8836A vulnerability was found in lwIP up to 2.2.1. Affected is t…9.8
- CVE-2026-8837The WP Iframe Geo Style for Amazon affiliates plugin for Wor…6.4
- CVE-2026-8838Unsafe use of Python's eval() on server-received data in the…9.8
Are you affected by CVE-2026-8832?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
