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.
History

Tue, 09 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API
First Time appeared Cm-wp
Cm-wp woody Code Snippets
Weaknesses CWE-94
CPEs cpe:2.3:a:cm-wp:woody_code_snippets:*:*:*:*:*:wordpress:*:*
Vendors & Products Cm-wp
Cm-wp woody Code Snippets
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-09T11:48:39.195Z

Reserved: 2026-06-08T11:54:25.459Z

Link: CVE-2017-20251

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-06-09T13:16:35.140

Modified: 2026-06-09T13:51:18.770

Link: CVE-2017-20251

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T13:30:04Z