{"schemaVersion":3,"id":"CVE-2026-104677","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The WP Coder  WordPress plugin before 4.5.2 does not restrict access to its PHP code-execution feature to administrators, gating it on a content capability that the Editor role holds by default, which allows Editor-level users to save and execute arbitrary PHP code on the server and fully compromise the site.","dates":{"published":"2026-10-07T06:00:05.947Z","modified":"2026-10-07T09:56:37.022Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0037,"percentile":0.29466,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-07T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0037,"percentile":0.29466}],"last30":[{"date":"2026-10-07T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0037,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0037,"percentile":0.29466}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_26A91106C8CC4069","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/2e730bf3-ebf9-4c0d-bb05-8ca94c7cab60/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"unknown","product":"wp coder","name":"WP Coder","label":"wp coder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0, < 4.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0, < 4.5.2","eol":null,"hubHref":"/vendor/unknown/wp_coder"},{"vendor":"wordpress","product":"wp-coder","name":"WP Coder – Insert & Manage Code Snippets","label":"wp-coder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0, ≤ 4.5.1 (fixed in 4.5.2)","noFixRecorded":false,"fixedIn":"4.5.2"}],"versionsText":"≥ 4.0, ≤ 4.5.1 (fixed in 4.5.2)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/2e730bf3-ebf9-4c0d-bb05-8ca94c7cab60/","label":"wpscan.com/vulnerability/2e730bf3-ebf9-4c0d-bb05-8ca94c7cab60/","hostname":"wpscan.com","tags":["Exploit","VDB Entry","Technical Description"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c1a7f09e-2d2a-4d5e-bf4c-cb61a6cc28e1","label":"www.wordfence.com/threat-intel/vulnerabilities/id/c1a7f09e-2d2a-4d5e-bf4c-cb61a6cc28e1","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-07T06:00:05.947Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-07T09:56:37.022Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":39,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:01:42.829Z","stale":false,"partial":false}}