# CF7 to Webhook <= 5.1.1 - Unauthenticated HTTP Header Injection via Custom Webhook Headers

- **ID:** WPSEC-2026-3914
- **Plugin:** CF7 to Webhook (`cf7-to-zapier`), https://wordpress.org/plugins/cf7-to-zapier/
- **Affected versions:** from 5.0.0 before 5.2.0
- **Fixed in:** 5.2.0 (Update to 5.2.0 or later.)
- **Severity:** Low 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-113
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/cf7-to-zapier
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3914/

## Description

The CF7 to Webhook plugin for WordPress is vulnerable to HTTP Header Injection via mail tag placeholders in custom webhook headers in all versions from 5.0.0 up to, and including, 5.1.1. This is due to the create_headers() function substituting submitted Contact Form 7 field values into administrator-configured header values without removing CR/LF or other control characters. This makes it possible for unauthenticated attackers who submit the form to inject arbitrary headers into the outgoing webhook request, provided the form's custom headers use a mail tag placeholder.

## References

- https://wpsec.com/vuln/WPSEC-2026-3914/
- https://plugins.svn.wordpress.org/cf7-to-zapier/tags/5.2.0/
- https://wordpress.org/plugins/cf7-to-zapier/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3914/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
