CVE-2017-20251: WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API
Vulnerability summary
CVE-2017-20251 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in themeisle woody code snippets. EPSS estimates a 2.06% chance of exploitation in the next 30 days, higher than 81.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (exploit-database, 09-02-2017)
Source freshness unavailable
How is this decided?Timeline
- 09-06-2026PublishedVulnerability first disclosed.
- 12-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 2 sources · 2 versions- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.06%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
Increase +1.50 pp
From 0.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundWordPress Plugin Insert PHP 3.3.1 - PHP Code Injection
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Themeisle1 product
- woody code snippets< 2.5.1
1 vendor · 1 product