{"id":"CVE-2017-20251","revision":"ec01489e79614f6fb27e543fb031f8b5","records":[{"revision":"ec01489e79614f6fb27e543fb031f8b5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2017-20251","aliases":[],"title":"WordPress Insert PHP Plugin 4.7.0 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.","state":0,"publishedAt":"2026-06-09T11:48:39.195+00:00","modifiedAt":"2026-06-09T16:13:54.058+00:00","affected":[{"ecosystem":"Vendor product","name":"Woody Code Snippets","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Themeisle\",\n                    \"product\": \"Woody Code Snippets\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.3.1\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://www.exploit-db.com/exploits/41308","https://fr.wordpress.org/plugins/insert-php/","https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-api"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2017-20251","license":"CVE Program Terms of Use","key":"cve-program:CVE-2017-20251","identifiers":["CVE-2017-20251"]},"retained":false,"historicalAffected":[]}],"coverage":[]}