CVE-2017-20251CWE-94

WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API

Critical · published June 9, 2026

CVSS v4.0
9.3
EPSS
1%
Percentile
45.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00559 · 45.8th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-06-09T11:48Z
EPSS history
Timeline
  • 09 JUN 11:48Z
    WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API
    cvelistv5