{"id":"CVE-2017-20251","aliases":["EUVD-2017-18977","GHSA-mxq7-4xcj-jccm"],"status":"published","title":"WordPress Insert PHP Plugin \u003c 3.3.1 PHP Code Injection via REST API","description":"WordPress Insert PHP plugin versions before 3.3.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.","severity":{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00559,"percentile":0.468,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-94"],"published":"2026-06-09T11:48:39Z","modified":"2026-10-29T21:15:00Z","exploits":[{"source":"pocgithub","id":"Polosss/By-Poloss..-..CVE-2017-20251","title":"Polosss/By-Poloss..-..CVE-2017-20251","date":"2026-06-09","url":"https://github.com/Polosss/By-Poloss..-..CVE-2017-20251"}],"products":[{"vendor":"themeisle","product":"woody code snippets"}],"references":[{"url":"https://www.exploit-db.com/exploits/41308","tags":["exploit"]},{"url":"https://fr.wordpress.org/plugins/insert-php/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-api","tags":["third-party-advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-20251"},{"url":"https://fr.wordpress.org/plugins/insert-php"},{"url":"https://github.com/advisories/GHSA-mxq7-4xcj-jccm"}],"sources":{"cve":[{"id":"CVE-2017-20251","title":"WordPress Insert PHP Plugin \u003c 3.3.1 PHP Code Injection via REST API","description":"WordPress Insert PHP plugin versions before 3.3.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.","status":"published","published":"2026-06-09T11:48:39.195Z","modified":"2026-10-29T21:15:00.988Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical","assessor":"cna"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:33:11.59359Z"}],"euvd":[{"id":"EUVD-2017-18977","description":"WordPress Insert PHP plugin versions before 3.3.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.","status":"published","published":"2026-06-09T11:48:39Z","modified":"2026-10-29T21:15:00Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"updated_at":"2026-11-02T16:59:14.591479Z"}],"ghsa":[{"id":"GHSA-mxq7-4xcj-jccm","title":"WordPress Insert PHP plugin versions before 3.3.1 contain a PHP code injection vulnerability that...","description":"WordPress Insert PHP plugin versions before 3.3.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.","status":"published","published":"2026-06-09T15:32:17Z","modified":"2026-06-09T15:32:25Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:08:40.95868Z"}],"nvd":[{"id":"CVE-2017-20251","description":"WordPress Insert PHP plugin versions before 3.3.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.","status":"published","published":"2026-06-09T13:16:35.14Z","modified":"2026-07-21T07:10:00.117Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:04:21.76411Z"}]}}
