# CVE-2024-5804: Conditional Fields for Contact Form 7 <= 2.4.13 - Cross-Site Request Forgery to Plugin Setting Reset

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-07-20T02:02:15.719Z
- Modified: 2026-06-17T08:16:40.850Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The Conditional Fields for Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.4.13. This is due to missing or incorrect nonce validation on the wpcf7cf_admin_init function. This makes it possible for unauthenticated attackers to reset the plugin's settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

(As written by CVE List.)

## Affected

- jules-colle Conditional Fields for Contact Form 7: up to 2.4.13

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/827c5dc2-3195-47d9-9e44-ca2043748eed?source=cve>
- <https://plugins.trac.wordpress.org/browser/cf7-conditional-fields/trunk/wpcf7cf-options.php#L285>
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3121497%40cf7-conditional-fields&new=3121497%40cf7-conditional-fields&sfp_email=&sfph_mail=>

## Sources

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

---

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