What the vulnerability does
01Description
The Allow PHP in Posts and Pages plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 3.0.4 via the 'php' shortcode. This allows authenticated attackers with subscriber-level permissions or above, to execute code on the server.
Explanation of Vulnerability in Simple Terms
02Summary
The Allow PHP in Posts and Pages plugin for WordPress contains a code injection vulnerability that allows authenticated users with low privileges to execute arbitrary PHP code on the site. An attacker with a basic user account can inject and run malicious code, potentially compromising the entire WordPress installation. The vulnerability affects all versions up to and including 3.0.4.
What an attacker can do
03Attacker Capabilities
Run arbitrary PHP code on the site with the privileges of the web server.
Potential impact on your site
04Site Impact
Complete site compromise: attackers can steal data, modify content, create backdoors, or take the site offline.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress user account (e.g., Contributor or Author role).
Key dates
06Disclosure timeline
September 16, 2023
CVE published
April 8, 2026
Record updated