CVE-2017-20251
CRITICAL
9.3
CVSS 4.0
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.
Affected WordPress components
-
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Plugin · insert-phpBefore 3.3.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Themeisle Woody Code Snippets — Before 3.3.1
References
- fr.wordpress.org https://fr.wordpress.org/plugins/insert-php/
- www.exploit-db.com https://www.exploit-db.com/exploits/41308
- www.vulncheck.com https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-api
- nvd.nist.gov Official NVD record