WordPress security changelog
HIGH CVE-2026-25863 Deferred

Conditional Fields for Contact Form 7: A security weakness

Conditional Fields for Contact Form 7 is affected by a security weakness. The vulnerable path is reachable without authentication. The resulting impact depends on how the affected component exposes the vulnerable operation. The published affected range is < 2.7.3.

CVE / CNA score 8.7 CVSS 4.0 · disclosure@vulncheck.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Conditional Fields for Contact Form 7
Plugin slug
cf7-conditional-fields
Affected
< 2.7.3
Safe version
2.7.3
Published
May 04, 2026
Weakness
CWE-1284 — Improper Validation of Specified Quantity in Input

This CVE was published May 04, 2026 and is one of 4 known issues for this plugin.

Update, patch or deactivate.

Update Conditional Fields for Contact Form 7 to 2.7.3 or later, or disable and remove it until a fixed version is available.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

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.

CVE / CNA vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary and upstream sources