WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API
Historical advisory recorded 13 Nov 2026 00:16:18 UTC. Read the latest advisory.
cve-program · CVE-2017-20251
PublishedWordPress 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2017-20251 · CVE overview and exploitation status
cve-program · CVE-2017-20251
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.