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 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify vulnerable WordPress site via plugin enumeration
  2. Delivery
    Craft POST request with malicious iteration count parameter
  3. Exploit
    Send request to plugin REST API endpoint
  4. Install
    Trigger unbounded loop execution in hide_hidden_mail_fields_regex_callback()
  5. C2
    Exhaust PHP process memory with preg_replace() operations
  6. Execute
    Crash web server worker process
  7. Impact
    Cause site-wide service disruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

Vulnerable WordPress installations must have Conditional Fields for Contact Form 7 plugin version 2.6.7 or earlier installed and activated. WordPress REST API must be accessible to unauthenticated users (default WordPress configuration). No authentication credentials, user interaction, or privileged access required-this is remote unauthenticated exploitation against default plugin configurations (AV:N/AC:L/PR:N/UI:N). Attack success does not depend on specific Contact Form 7 form configurations or conditional field rules being actively in use. Exploitation is limited only by standard web server accessibility-if the WordPress site is reachable via HTTP/HTTPS, the REST API endpoint is exploitable. The PHP environment's memory_limit and max_execution_time configuration settings affect only the speed and severity of resource exhaustion, not exploitability itself. Sites behind web application firewalls with input validation rules may block requests containing abnormally large numeric parameters, preventing exploitation.

Impact

The CVSS 4.0 score of 8.7 reflects high availability impact (VA:H) with network attack vector requiring no privileges or user interaction (AV:N/AC:L/PR:N/UI:N). This represents a realistic denial-of-service threat to WordPress sites with the plugin installed, as attackers can trivially identify vulnerable sites through plugin enumeration and send malicious REST API requests. However, real-world risk requires context: this is a site-level DoS affecting individual WordPress instances rather than infrastructure-wide service disruption. Repeated attacks require minimal sophistication-scripted POST requests with large integer values-making this automatable at scale. The absence of EPSS data prevents quantifying active exploitation probability, but the combination of unauthenticated network access, low attack complexity, and publicly available vendor advisory increases likelihood of opportunistic scanning. No CISA KEV listing or public exploit code confirmed at time of analysis, suggesting this has not yet been weaponized in widespread campaigns. Priority depends on plugin deployment: critical for high-traffic WordPress sites where availability is business-critical, lower priority for internal-only or low-traffic sites where temporary service disruption has minimal impact. The availability-only impact (no confidentiality or integrity compromise) means this cannot be chained for data exfiltration or system compromise without additional vulnerabilities.

Exploit ScenarioDerived

An attacker identifies a WordPress site running Conditional Fields for Contact Form 7 through plugin enumeration (wp-content/plugins/cf7-conditional-fields/ directory detection or WordPress version scanning tools). The attacker crafts a malicious POST request to the plugin's REST API endpoint, injecting an iteration count parameter with an extremely large integer value (e.g., 9999999). The vulnerable hide_hidden_mail_fields_regex_callback() method accepts this value without validation and initiates loop execution with that many preg_replace() operations, each consuming memory. Within seconds, the PHP process exhausts available memory (typically 128-256MB default WordPress allocation), triggering a fatal error and crashing the web server process. Legitimate users attempting to access the site during this period encounter 500 Internal Server Error responses until PHP-FPM or Apache restarts the crashed worker process. The attacker can repeat this trivially with automated scripts to maintain persistent denial of service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 04, 2026

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.

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.

Affected VersionsENISA

Conditional Fields for Contact Form 7 0 <2.7.3

Affected Packages

euvd conditional_fields_for_contact_form_7 fix: 2.7.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Conditional Fields For Contact Form 7 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) 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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

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

Executive ViewAI

Why It Matters

The Conditional Fields for Contact Form 7 WordPress plugin contains a denial-of-service vulnerability (CVE-2026-25863) that allows unauthenticated attackers to crash PHP processes via REST API parameter injection, directly impacting website availability for any organization using this plugin. Organizations running affected versions (through 2.6.7) face immediate risk of service disruption without authentication barriers, making this a critical operational threat to customer-facing WordPress deployments.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Restrict REST API access to authenticated users only via WordPress security plugins or .htaccess rules; (2) Implement rate limiting on form submission endpoints; (3) Monitor PHP error logs and server memory consumption for signs of exploitation; (4) Consider temporarily disabling the Conditional Fields plugin if it is non-critical to operations pending patch deployment.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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