CVE-2017-20251

published 9 Jun 2026 · updated 12 Nov 2026

WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API

10.0CriticalCVSS 9.8EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.5.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
themeisle<2.5.12.5.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2017-20251 severity on Zeptric[![CVE-2017-20251](https://zeptric.io/badge/cve/CVE-2017-20251.svg)](https://zeptric.io/cve/CVE-2017-20251)