CVE-2017-20251

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

Published Jun 9, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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. 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.
Title WordPress Insert PHP Plugin < 3.3.1 PHP Code Injection via REST API WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API
References
Type Values Removed Values Added
Title WordPress Insert PHP Plugin 4.7.0 PHP Code Injection via REST API WordPress Insert PHP Plugin < 3.3.1 PHP Code Injection via REST API
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 12, 2026, 10:01 PM
Reserved
Jun 8, 2026, 11:54 AM
Status
Deferred
Published
Jun 9, 2026, 1:16 PM
Modified
Nov 12, 2026, 10:17 PM