Conditional Fields for Contact Form 7 WordPress plugin...
High severity
Unreviewed
Published
May 4, 2026
to the GitHub Advisory Database
•
Updated May 4, 2026
Description
Published by the National Vulnerability Database
May 4, 2026
Published to the GitHub Advisory Database
May 4, 2026
Last updated
May 4, 2026
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.
References