Skip to main content

Conditional Fields for Contact Form 7 CVE-2026-25863

| EUVDEUVD-2026-27083 HIGH
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-05-04 VulnCheck
8.7
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
8.7 HIGH
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 rating from NVD · only source for this CVE.

CVSS VectorNVD

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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
Analysis Generated
May 04, 2026 - 19:31 vuln.today
CVSS changed
May 04, 2026 - 19:22 NVD
7.5 (HIGH) 8.7 (HIGH)

DescriptionCVE.org

Conditional Fields for Contact Form 7 WordPress plugin through version 2.6.7 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.

AnalysisAI

Denial-of-service condition in Conditional Fields for Contact Form 7 WordPress plugin allows remote unauthenticated attackers to crash PHP processes by injecting arbitrarily large iteration values through REST API parameters. The Wpcf7cfMailParser class processes user-supplied POST data without validation, enabling attackers to trigger unbounded loops with multiple regex operations that exhaust server memory. Affects all versions through 2.6.7 with vendor patch now available. EPSS data not provided, but the network-accessible unauthenticated attack vector (AV:N/PR:N) combined with low complexity (AC:L) indicates straightforward exploitation potential against publicly accessible WordPress sites running this plugin.

Technical ContextAI

This vulnerability stems from CWE-1284 (Improper Validation of Specified Quantity in Input), a resource exhaustion class where user-controlled numeric input directly controls computational intensity. The Conditional Fields for Contact Form 7 plugin extends the popular Contact Form 7 WordPress plugin to add conditional logic to form fields. The vulnerable Wpcf7cfMailParser class contains a hide_hidden_mail_fields_regex_callback() method that accepts iteration count parameters from POST requests through WordPress REST API endpoints. Without input validation or bounds checking, an attacker-supplied integer directly controls loop iterations performing preg_replace() operations-PHP's regular expression replacement function known for memory-intensive processing. Each iteration multiplies memory consumption, and with sufficiently large values (e.g., hundreds of thousands or millions), the PHP process exceeds memory_limit configuration and terminates. This represents a classic algorithmic complexity attack where minimal attacker resources (a single HTTP request) consume disproportionate server resources.

RemediationAI

Upgrade Conditional Fields for Contact Form 7 to version 2.6.8 or later through the WordPress admin dashboard (Plugins → Updates) or by downloading from https://wordpress.org/plugins/cf7-conditional-fields/#developers. The patched version implements input validation and bounds checking on iteration count parameters in the Wpcf7cfMailParser class. If immediate patching is not feasible, implement these compensating controls with noted trade-offs: (1) Disable WordPress REST API for unauthenticated users via security plugin or .htaccess rules-blocks the attack vector but may break legitimate functionality for contact forms, mobile apps, or third-party integrations requiring API access; (2) Configure PHP memory_limit and max_execution_time to lower values (e.g., 128M, 30 seconds) to limit blast radius-reduces impact of successful attacks but may cause legitimate long-running processes to fail; (3) Deploy web application firewall rules to detect and block POST requests with abnormally large numeric parameter values to plugin REST endpoints-effective mitigation but requires WAF infrastructure and ongoing rule tuning to avoid false positives. Note that simply deactivating the plugin eliminates risk but removes conditional field functionality from all Contact Form 7 forms.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-25863 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy