WordPress security changelog
CRITICAL CVE-2017-20251 Deferred

Woody Code Snippets: Code execution

Woody Code Snippets is affected by code execution. The vulnerable path is reachable without authentication. Successful exploitation can run attacker-controlled code in the WordPress hosting account. The published affected range is < 3.3.1.

CVE / CNA score 9.3 CVSS 4.0 · disclosure@vulncheck.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Woody Code Snippets
Plugin slug
insert-php
Affected
< 3.3.1
Safe version
3.3.1
Published
Jun 09, 2026
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')

This CVE was published Jun 09, 2026 and is one of 6 known issues for this plugin.

Update, patch or deactivate.

Update Woody Code Snippets to 3.3.1 or later, or disable and remove it until a fixed version is available.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

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

CVE / CNA 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary and upstream sources