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

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2024-06-20T02:08:28.437Z
- Modified: 2026-06-17T07:44:31.243Z
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- mgibbs189 Custom Field Suite: up to 2.6.7
- custom_field_suite_project custom_field_suite: up to 2.6.7

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/dfd7b788-03a0-41a4-96f2-cfca74ef281b?source=cve> (third-party-advisory)
- <https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/fields/loop.php#L192> (product)
- <https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/fields/loop.php#L224> (product)
- <https://mgibbs189.github.io/custom-field-suite/field-types/loop.html> (product)

## Sources

- CVE List: [CVE-2024-3562](https://www.cve.org/CVERecord?id=CVE-2024-3562), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-3562](https://nvd.nist.gov/vuln/detail/CVE-2024-3562), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3562 · Whole record: https://cve.day/CVE-2024-3562.json · Rebuilt by cve.day 2026-11-25T22:58:42.061Z
