RCE in Themeisle Woody Code Snippets
CVE-2017-20251
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 47.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Themeisle Woody Code Snippets — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Polosss/By-Poloss..-..CVE-2017-20251 (1 star, last pushed 2026-06-09): Insert PHP Plugin PHP Code Injection
References
- Official Product Homepage (product)
- www.exploit-db.com/exploits/41308 (exploit)
- www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via… (third-party-advisory)
- wordpress.org/plugins/insert-php/ (product, patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.