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.
CVE-2017-20251
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-06-09. a secondary CVSS source baseline 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 75(Attend)EG Risk 75/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS
- 43.1%
- KEV
- Not listed
Published
June 9, 2026
Last Modified
July 21, 2026
Advisory Details (3)
Auto-updated Jun 20, 2026WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API | Advisories | VulnCheck
https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-apiWoody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts – Extension WordPress | WordPress.org Français
https://fr.wordpress.org/plugins/insert-php/WordPress Plugin Insert PHP 3.3.1 - PHP Code Injection - PHP webapps Exploit
https://www.exploit-db.com/exploits/41308Vendor Advisories for CVE-2017-20251(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 117× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 221 total refreshes for this CVE.
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:28 UTCEG score recompute
- 2026-07-22 22:08 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 09:26 UTCGHSA enrichment
- 2026-07-16 05:09 UTCGHSA enrichment
- 2026-07-16 00:24 UTCGHSA enrichment
- 2026-07-15 20:14 UTCGHSA enrichment
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-14 21:21 UTCGHSA enrichment
- 2026-07-14 16:54 UTCGHSA enrichment
- 2026-07-14 12:43 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-07-14 02:26 UTCGHSA enrichment
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 12:29 UTCGHSA enrichment
- 2026-07-12 08:18 UTCGHSA enrichment
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 02:13 UTCGHSA enrichment
- 2026-07-11 22:01 UTCGHSA enrichment
- 2026-07-11 17:48 UTCGHSA enrichment
- 2026-07-11 13:36 UTCGHSA enrichment
- 2026-07-11 09:23 UTCGHSA enrichment
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-11 04:47 UTCGHSA enrichment
- 2026-07-10 20:59 UTCGHSA enrichment
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-09 11:23 UTCGHSA enrichment
- 2026-07-09 07:11 UTCGHSA enrichment
- 2026-07-09 02:59 UTCGHSA enrichment
- 2026-07-08 21:24 UTCGHSA enrichment
- 2026-07-08 15:41 UTCGHSA enrichment
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-08 11:19 UTCGHSA enrichment
- 2026-07-08 06:50 UTCGHSA enrichment
- 2026-07-08 01:58 UTCGHSA enrichment
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 04:08 UTCGHSA enrichment
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 22:55 UTCGHSA enrichment
- 2026-07-05 18:09 UTCGHSA enrichment
- 2026-07-05 13:56 UTCGHSA enrichment
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-05 00:48 UTCGHSA enrichment
- 2026-07-04 19:52 UTCGHSA enrichment
- 2026-07-04 14:20 UTCGHSA enrichment
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 00:18 UTCGHSA enrichment
- 2026-07-03 20:07 UTCGHSA enrichment
- 2026-07-03 15:56 UTCGHSA enrichment
- 2026-07-03 09:03 UTCGHSA enrichment
- 2026-07-03 00:54 UTCGHSA enrichment
- 2026-07-02 20:25 UTCGHSA enrichment
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-02 16:15 UTCGHSA enrichment
- 2026-07-02 12:00 UTCGHSA enrichment
- 2026-07-02 07:21 UTCGHSA enrichment
- 2026-07-02 03:08 UTCGHSA enrichment
- 2026-07-01 22:55 UTCGHSA enrichment
- 2026-07-01 18:03 UTCGHSA enrichment
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 13:52 UTCGHSA enrichment
- 2026-07-01 09:41 UTCGHSA enrichment
- 2026-07-01 05:29 UTCGHSA enrichment
- 2026-07-01 00:16 UTCGHSA enrichment
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 19:49 UTCGHSA enrichment
- 2026-06-30 15:38 UTCGHSA enrichment
- 2026-06-30 09:37 UTCGHSA enrichment
- 2026-06-30 05:22 UTCGHSA enrichment
- 2026-06-30 01:02 UTCGHSA enrichment
- 2026-06-29 20:51 UTCGHSA enrichment
- 2026-06-29 16:34 UTCGHSA enrichment
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-29 12:22 UTCGHSA enrichment
- 2026-06-29 08:10 UTCGHSA enrichment
- 2026-06-29 03:39 UTCGHSA enrichment
- 2026-06-28 23:23 UTCGHSA enrichment
- 2026-06-28 19:09 UTCGHSA enrichment
- 2026-06-28 14:58 UTCGHSA enrichment
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 10:47 UTCGHSA enrichment
- 2026-06-28 06:36 UTCGHSA enrichment
- 2026-06-28 04:53 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
Frequently asked(5)
What is CVE-2017-20251?
When was CVE-2017-20251 disclosed?
Is CVE-2017-20251 actively exploited?
What is the CVSS score of CVE-2017-20251?
How do I remediate CVE-2017-20251?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2017-20251
Is Your Infrastructure Affected by CVE-2017-20251?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.