CVE-2017-20251
published critical CVSS 4.0 · 9.3WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Themeisle | — | Woody Code Snippets0 to < 2.5.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Themeisle | Woody Code Snippets | 0 to < 2.5.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3- WordPress Changelog https://wordpress.org/plugins/insert-php/#developers
- ExploitDB-41308 https://www.exploit-db.com/exploits/41308
- VulnCheck Advisory: WordPress Insert PHP Plugin < 3.3.1 PHP Code Injection via REST API https://www.vulncheck.com/advisories/wordpress-insert-php-plugin-php-code-injection-via-rest-api
Provider assertions
2VulnCheck · cna
WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0776d304c0050aff8d1679c1b8b41bd94c676d599a9a1d4622a5c9454a9fdf47
- Ingested
- 12 Nov 2026, 22:14:41 UTC
- Source record
- Official CVE record