CVE-2024-3562 HIGH

CVE-2024-3562: Custom Field Suite <= 2.6.7 - Authenticated (Contributor+) PHP Code Injection via Loop Custom Field

Vendor Mgibbs189
Product Custom Field Suite
Weakness CWE-95 · Eval injection
Published June 20, 2024
Last update April 8, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

Related vulnerabilities

08Related CVE