CVE Explorer
CVE-2026-8832
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 authentic
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager","vendor":"smub","versions":[{"lessThanOrEqual":"2.3.5","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"url":"https://plugins.trac.wordpress.org/browser/insert-headers-and-footers/tags/2.3.5/includes/class-wpcode-snippet-execute.php#L374"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/insert-headers-and-footers/tags/2.3.5/includes/class-wpcode-snippet-execute.php#L415"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/insert-headers-and-footers/tags/2.3.5/includes/execute/class-wpcode-snippet-execute-php.php#L25"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/insert-headers-and-footers/tags/2.3.5/includes/post-type.php#L24"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/insert-headers-and-footers/tags/2.3.5/includes/shortcode.php#L26"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/changeset/3549060/insert-headers-and-footers/trunk/includes/post-type.php"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Finsert-headers-and-footers/tags/2.3.5&new_path=%2Finsert-headers-and-footers/tags/2.3.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/7
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/75a2e8b1-d5e0-4f7b-a70a-f0aadf58c778?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a6fe9b33cec4cf4562058526698441c6f39a78fd27ec08dfd672efe0d0ed8baa · sha256:80ed45d52c7b1493… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.