# Captcha/Honeypot for Contact Form 7 <= 2.15.16 - Unauthenticated Protection Bypass via Crafted REST Request URI

- **ID:** WPSEC-2026-4524
- **Plugin:** SilentShield – Captcha & Anti-Spam for WordPress (CF7, WPForms, Elementor, WooCommerce) (`captcha-for-contact-form-7`), https://wordpress.org/plugins/captcha-for-contact-form-7/
- **Affected versions:** from 2.2.53 before 2.16.0
- **Fixed in:** 2.16.0 (Update to 2.16.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-863
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/captcha-for-contact-form-7
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4524/

## Description

The SilentShield – Captcha & Anti-Spam for WordPress (CF7, WPForms, Elementor, WooCommerce) plugin for WordPress is vulnerable to a protection mechanism bypass via the WooCommerce REST API whitelist in versions 2.2.53 up to, and including, 2.15.16. The cause is that Whitelist_Validator::is_whitelisted_ajax_or_rest() exempts every REST request whose raw REQUEST_URI contains '/wc/store/' or '/wc/v3/' anywhere, instead of checking the REST route that is actually dispatched. This makes it possible for unauthenticated attackers to skip all of the plugin's spam checks (captcha, honeypot, timer, IP, content rules and others) on protected forms that are submitted through the REST API, such as the Contact Form 7 feedback endpoint, by adding a query string that contains '/wc/store/' to the request.

## References

- https://wpsec.com/vuln/WPSEC-2026-4524/
- https://plugins.svn.wordpress.org/captcha-for-contact-form-7/tags/2.16.0/
- https://wordpress.org/plugins/captcha-for-contact-form-7/

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

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.
