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)
- Affected
- from 2.2.53 before 2.16.0
- Remediation
- Update to 2.16.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-863
- Usage
- Plugin Medium · Affected versions Low among sites WPSec scans, 2026-12-03
- Attack surface
- Captcha/Honeypot for Contact Form 7 on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS