{"id":"CVE-2017-20251","published":"2026-06-09T11:48:39Z","modified":"2026-11-12T22:01:44Z","title":"WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API","vendor":"Themeisle","product":"Woody Code Snippets","tier":"tail","description":{"text":"WordPress Insert PHP plugin versions before 2.5.1 contain a PHP code injection vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by injecting malicious shortcodes through the WordPress REST API. Attackers can send POST requests to the wp-json/wp/v2/posts endpoint with crafted content containing insert_php shortcodes to include and execute remote PHP files on the server.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00559,"percentile":0.47423,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.exploit-db.com/exploits/41308","tags":["exploit"]},{"url":"https://wordpress.org/plugins/insert-php/#developers","tags":["product","patch"]},{"url":"https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-api","tags":["third-party-advisory"]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":9.48},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-09","earliestUrl":"https://github.com/Polosss/By-Poloss..-..CVE-2017-20251","repos":[{"name":"Polosss/By-Poloss..-..CVE-2017-20251","url":"https://github.com/Polosss/By-Poloss..-..CVE-2017-20251","stars":1,"created":"2026-06-09"}]},"first":{"date":"2026-06-09","source":"PoC-in-GitHub","url":"https://github.com/Polosss/By-Poloss..-..CVE-2017-20251"},"provenance":"source"},"vendorSlug":"themeisle","affectedVersions":[{"vendor":"Themeisle","product":"Woody Code Snippets","versions":["< 2.5.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-09T16:13:44.753300Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2017-18977","exploited":false,"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/41308"]}