patchminder
Proof of concept · Exploit-DB CVE-2017-20251

Code injectionin CVE-2017-20251.

Published 9 Jun 2026 · Updated 12 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.5.1 or later
In plain words

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.

What to do now
  • Upgrade Woody Code Snippets to 2.5.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Woody Code Snippets
before 2.5.1
2.5.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 8 Jun 2026
    CVE ID reserved by VulnCheck.
  2. 9 Jun 2026
    Published in the CVE List.
  3. 9 Jun 2026
    First public proof of concept on GitHub.
  4. 12 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
1 repository
Exploit-DBEDB-ID 41308web application exploit for php, published 9 Feb 2017
GitHubno warning signs foundPolosss/By-Poloss..-..CVE-2017-202511 stars · created 9 Jun 2026Insert PHP Plugin PHP Code Injection
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2017-20251: Code injection in CVE-2017-20251. https://patchminder.com/cve/cve-2017-20251/ (accessed 5 December 2026).