What the vulnerability does
01Description
The Custom Field Suite plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 2.6.7 via the Loop custom field. This is due to insufficient sanitization of input prior to being used in a call to the eval() function. This makes it possible for authenticated attackers, with contributor-level access and above, to execute arbitrary PHP code on the server.
Explanation of Vulnerability in Simple Terms
02Summary
Custom Field Suite versions 2.6.7 and earlier allow authenticated users with low privileges to execute arbitrary PHP code on the site. The vulnerability stems from improper handling of user-supplied input in code evaluation contexts. An attacker with a basic user account can read sensitive data, modify site content, or take control of the entire installation.
What an attacker can do
03Attacker Capabilities
Run their own PHP code on the site, read all data, and modify or delete content.
Potential impact on your site
04Site Impact
Any user account on your site—even a basic contributor—can compromise the entire installation.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege user account (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
June 20, 2024
CVE published
April 8, 2026
Record updated