CVE-2017-20251

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

No configuration.

History

12 Nov 2026, 22:17

Type Values Removed Values Added
References
  • {'url': 'https://fr.wordpress.org/plugins/insert-php/', 'source': 'disclosure@vulncheck.com'}
  • () https://wordpress.org/plugins/insert-php/#developers -
Summary (en) 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. (en) 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.

21 Jul 2026, 07:10

Type Values Removed Values Added
Summary
  • (es) Las versiones del plugin WordPress Insert PHP anteriores a la 3.3.1 contienen una vulnerabilidad de inyección de código PHP que permite a atacantes no autenticados ejecutar código PHP arbitrario inyectando shortcodes maliciosos a través de la API REST de WordPress. Los atacantes pueden enviar solicitudes POST al endpoint wp-json/wp/v2/posts con contenido manipulado que contenga shortcodes insert_php para incluir y ejecutar archivos PHP remotos en el servidor.

09 Jun 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-09 13:16

Updated : 2026-11-12 22:17


NVD link : CVE-2017-20251

Mitre link : CVE-2017-20251

CVE.ORG link : CVE-2017-20251


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')