{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-8832 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-8832 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-8832 is a high-severity code injection vulnerability in smub WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager, published on 27 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-8832 and fix it if it is affected.\n\nWhat it is: CVE-2026-8832 is a high-severity code injection vulnerability in smub WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager, published on 27 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-8832 in the wild and no public exploit code.\n\nAffected product: smub WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-8832/ (Markdown: https://insights.sbomify.com/CVE-2026-8832/index.md)","id":"CVE-2026-8832","markdown":"https://insights.sbomify.com/CVE-2026-8832/index.md","name":"CVE-2026-8832","record":{"aliases":["GHSA-54cw-c4v7-gx5m"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated attackers with author privileges can execute arbitrary PHP code via XML-RPC due to missing capability restrictions on custom post types.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-05-28","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-28T20:06:15Z","kind":"github_poc","ref":"https://github.com/funixone/EXPLOIT-CVE-2026-8832","stars":1,"title":null},{"date":"2026-05-28T19:49:18Z","kind":"github_poc","ref":"https://github.com/funixone/EXPLOIT-CVE-2026-8832-","stars":0,"title":"EXPLOIT CVE-2026-8832 "}],"tier":"poc_unverified"},"has_fix":null,"headline":"WPCode \u003c= 2.3.5 - Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost","id":"CVE-2026-8832","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":8,"next":{"headline":"XSS in urls","id":"CVE-2026-8833"},"packages":[],"prev":{"headline":"Keycloak: Policy bypass during WebAuthn credential registration via client-side JavaScript manipulation","id":"CVE-2026-8830"},"products":["WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager"],"published":"2026-05-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["smub"]},"summary":"Authenticated attackers with author privileges can execute arbitrary PHP code via XML-RPC due to missing capability restrictions on custom post types.","url":"https://insights.sbomify.com/CVE-2026-8832/"}