9.8Critical

CVE-2017-20251WordPress Insert PHP Plugin < 2.5.1 PHP Code Injection via REST API

Themeisle Woody Code Snippets Published: (5 months ago)

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
cm-wp woody code snippets < 2.5.1
Themeisle Woody Code Snippets < 2.5.1

References and patches