CVE-2017-20251 PUBLISHED

WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API

Assigner: VulnCheck
Reserved: 08.06.2026 Published: 09.06.2026 Updated: 09.06.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor Themeisle
Product Woody Code Snippets
Versions
  • affected from 0 to 3.3.1 (excl.)

Credits

  • sucuri.net @sucurisecurity finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE