Custom Field Suite <= 2.6.7 - Authenticated (Contributor+) PHP Code Injection via Loop Custom Field
Summary
| CVE | CVE-2024-3562 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-06-20 02:15:10 UTC |
| Updated | 2026-04-08 19:21:22 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.011300000 probability, percentile 0.783200000 (date 2026-04-13)
Problem Types: CWE-95 | CWE-94 | CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Custom Field Suite Project | Custom Field Suite | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mgibbs189 | Custom Field Suite | affected 2.6.7 semver | Not specified |
| ADP | Custom Field Suite Project | Custom Field Suite | affected 2.6.7 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/dfd7b788-03a0-41a4-96f2-cfca7... | af854a3a-2127-422b-91ae-364da2661108 | www.wordfence.com | Third Party Advisory |
| github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9... | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9... | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| mgibbs189.github.io/custom-field-suite/field-types/loop.html | af854a3a-2127-422b-91ae-364da2661108 | mgibbs189.github.io | Product |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Jack Taylor (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-06-19T13:10:24.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.