PHP Code Injection Vulnerability in WordPress Insert PHP Plugin
CVE-2017-20251
Key Information:
- Vendor
WordPress
- Status
- Vendor
- CVE Published:
- 9 June 2026
Badges
What is CVE-2017-20251?
The Insert PHP plugin for WordPress is vulnerable to a PHP code injection, allowing unauthenticated attackers to execute arbitrary PHP code. This vulnerability arises from the plugin's handling of shortcodes through the WordPress REST API, specifically at the wp-json/wp/v2/posts endpoint. Attackers can craft POST requests containing malicious shortcodes, enabling them to remotely include and execute PHP files on the server. It is recommended that users update to version 3.3.1 or later to mitigate this risk.
Affected Version(s)
Woody Code Snippets 0 < 3.3.1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved