Skip to content
Laskyr

Plugins · cf7-conditional-fields · data as of 2026-11-29

Is Conditional Fields for Contact Form 7 safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (2.8.8)

As of 2026-11-29. 4 issues are on record for older versions; version 2.7.3 or newer fixes all of them that state a fix.

Latest version
2.8.8
Last updated
2026-11-23
Active installs
100,000+
Known issues on record
4
Unpatched in latest
0
Tested up to WP
7.1.5 · PHP 7.0+

Adds conditional logic to Contact Form 7. — by Jules Colle

What to do

  1. Update to the latest version (2.8.8). Anything older than 2.7.3 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get cf7-conditional-fields --field=version shows what you run; wp plugin update cf7-conditional-fields updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

4 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

high 7.5 CVE-2026-25863 · published 2026-05-04

Security issue in Conditional Fields for Contact Form 7 (older than 2.7.3)

Affected
older than 2.7.3
Fixed in
2.7.3
Access needed (per CVSS)
No login needed
Range from
CVE record · score by disclosure@vulncheck.com
Details from the advisory

Conditional Fields for Contact Form 7 WordPress plugin through version 2.7.2 contains an uncontrolled resource consumption vulnerability in the Wpcf7cfMailParser class where the hide_hidden_mail_fields_regex_callback() method reads an iteration count directly from user-supplied POST parameters without validation or upper bound enforcement. Unauthenticated attackers can supply an arbitrarily large integer value through the REST API endpoint to cause unbounded loop execution with multiple preg_replace() operations, exhausting server memory and crashing the PHP process.

NVD CVE-2026-25863wordpress.orgvulncheck.com

medium 4.3 CVE-2023-47838 · published 2024-12-09

Missing authorization check in Conditional Fields for Contact Form 7 (2.4.1 and older)

Affected
2.4.1 and older
Fixed in
2.4.2
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record · score by Patchstack
Details from the advisory

Missing Authorization vulnerability in Jules Colle Conditional Fields for Contact Form 7 cf7-conditional-fields allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Conditional Fields for Contact Form 7: from n/a through <= 2.4.1.

NVD CVE-2023-47838Patchstack advisory

medium 5.9 CVE-2024-50412 · published 2024-10-29

Stored cross-site scripting (XSS) in Conditional Fields for Contact Form 7 (2.4.15 and older)

Affected
2.4.15 and older
Fixed in
2.5
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record · score by Patchstack
Details from the advisory

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Jules Colle Conditional Fields for Contact Form 7 cf7-conditional-fields allows Stored XSS.This issue affects Conditional Fields for Contact Form 7: from n/a through <= 2.4.15.

NVD CVE-2024-50412Patchstack advisory

medium 4.3 CVE-2024-5804 · published 2024-07-20

Cross-site request forgery (CSRF) in Conditional Fields for Contact Form 7 (2.4.13 and older)

Affected
2.4.13 and older
Fixed in
2.4.14 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record · score by Wordfence
Details from the advisory

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.

NVD CVE-2024-5804Wordfence advisoryCode change (fix)Plugin source

Recent activity

Browse vulnerabilities

Questions about Conditional Fields for Contact Form 7

Is Conditional Fields for Contact Form 7 safe to use?

No known unpatched vulnerabilities in the latest version (2.8.8). As of 2026-11-29. 4 issues are on record for older versions; version 2.7.3 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Conditional Fields for Contact Form 7 on the latest version (2.8.8) and remove it if you do not use it.

Which versions of Conditional Fields for Contact Form 7 are vulnerable?

Known issues on record (newest first): Security issue (older than 2.7.3, fixed in 2.7.3); Missing authorization check (2.4.1 and older, fixed in 2.4.2); Stored cross-site scripting (XSS) (2.4.15 and older, fixed in 2.5); Cross-site request forgery (CSRF) (2.4.13 and older, fixed in 2.4.14). The full list with sources is on this page.

What is the latest version of Conditional Fields for Contact Form 7?

2.8.8, according to wordpress.org (last updated 2026-11-23). It has 100,000+ active installs.

What should I do if my Conditional Fields for Contact Form 7 is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update cf7-conditional-fields). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Conditional Fields for Contact Form 7 vulnerability status badge
<a href="https://laskyr.com/plugins/cf7-conditional-fields"><img src="https://laskyr.com/plugins/cf7-conditional-fields/badge.svg" alt="Conditional Fields for Contact Form 7 vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.