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. the CNA's CVSS 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(high)
- EPSS
- 42.5%
- KEV
- Not listed
Published
June 9, 2026
Last Modified
June 9, 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 62× in last 7d / 306× 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 306 total refreshes for this CVE.
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 04:08 UTCEG score recompute
- 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 UTCEG score recompute
- 2026-07-05 22:55 UTCGHSA enrichment
- 2026-07-05 18:09 UTCEG score recompute
- 2026-07-05 18:09 UTCGHSA enrichment
- 2026-07-05 13:56 UTCEG score recompute
- 2026-07-05 13:56 UTCGHSA enrichment
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-05 00:48 UTCEG score recompute
- 2026-07-05 00:48 UTCGHSA enrichment
- 2026-07-04 19:52 UTCEG score recompute
- 2026-07-04 19:52 UTCGHSA enrichment
- 2026-07-04 14:20 UTCEG score recompute
- 2026-07-04 14:20 UTCGHSA enrichment
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 00:18 UTCEG score recompute
- 2026-07-04 00:18 UTCGHSA enrichment
- 2026-07-03 20:07 UTCEG score recompute
- 2026-07-03 20:07 UTCGHSA enrichment
- 2026-07-03 15:56 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-03 15:56 UTCGHSA enrichment
- 2026-07-03 09:04 UTCEG score recompute
- 2026-07-03 09:03 UTCGHSA enrichment
- 2026-07-03 00:54 UTCEG score recompute
- 2026-07-03 00:54 UTCGHSA enrichment
- 2026-07-02 20:25 UTCEG score recompute
- 2026-07-02 20:25 UTCGHSA enrichment
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-02 16:15 UTCEG score recompute
- 2026-07-02 16:15 UTCGHSA enrichment
- 2026-07-02 12:01 UTCEG score recompute
- 2026-07-02 12:00 UTCGHSA enrichment
- 2026-07-02 07:21 UTCEG score recompute
- 2026-07-02 07:21 UTCGHSA enrichment
- 2026-07-02 03:08 UTCEG score recompute
- 2026-07-02 03:08 UTCGHSA enrichment
- 2026-07-01 22:56 UTCEG score recompute
- 2026-07-01 22:55 UTCGHSA enrichment
- 2026-07-01 18:03 UTCEG score recompute
- 2026-07-01 18:03 UTCGHSA enrichment
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 13:52 UTCEG score recompute
- 2026-07-01 13:52 UTCGHSA enrichment
- 2026-07-01 09:41 UTCEG score recompute
- 2026-07-01 09:41 UTCGHSA enrichment
- 2026-07-01 05:29 UTCEG score recompute
- 2026-07-01 05:29 UTCGHSA enrichment
- 2026-07-01 00:16 UTCEG score recompute
- 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 UTCEG score recompute
- 2026-06-30 19:49 UTCGHSA enrichment
- 2026-06-30 15:38 UTCEG score recompute
- 2026-06-30 15:38 UTCGHSA enrichment
- 2026-06-30 09:37 UTCEG score recompute
- 2026-06-30 09:37 UTCGHSA enrichment
- 2026-06-30 05:23 UTCEG score recompute
- 2026-06-30 05:22 UTCGHSA enrichment
- 2026-06-30 01:02 UTCEG score recompute
- 2026-06-30 01:02 UTCGHSA enrichment
- 2026-06-29 20:51 UTCEG score recompute
- 2026-06-29 20:51 UTCGHSA enrichment
- 2026-06-29 16:34 UTCEG score recompute
- 2026-06-29 16:34 UTCGHSA enrichment
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-29 12:22 UTCEG score recompute
- 2026-06-29 12:22 UTCGHSA enrichment
- 2026-06-29 08:10 UTCEG score recompute
- 2026-06-29 08:10 UTCGHSA enrichment
- 2026-06-29 03:39 UTCEG score recompute
- 2026-06-29 03:39 UTCGHSA enrichment
- 2026-06-28 23:23 UTCEG score recompute
- 2026-06-28 23:23 UTCGHSA enrichment
- 2026-06-28 19:09 UTCEG score recompute
- 2026-06-28 19:09 UTCGHSA enrichment
- 2026-06-28 14:58 UTCEG score recompute
- 2026-06-28 14:58 UTCGHSA enrichment
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 10:47 UTCEG score recompute
- 2026-06-28 10:47 UTCGHSA enrichment
- 2026-06-28 06:36 UTCEG score recompute
- 2026-06-28 06:36 UTCGHSA enrichment
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 02:26 UTCEG score recompute
- 2026-06-28 02:26 UTCGHSA enrichment
- 2026-06-27 22:15 UTCEG score recompute
- 2026-06-27 22:15 UTCGHSA enrichment
- 2026-06-27 17:58 UTCEG score recompute
- 2026-06-27 17:57 UTCGHSA enrichment
- 2026-06-27 13:46 UTCEG score recompute
- 2026-06-27 13:46 UTCGHSA enrichment
- 2026-06-27 09:34 UTCEG score recompute
- 2026-06-27 09:34 UTCGHSA enrichment
- 2026-06-27 05:23 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
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.