Double Opt-In for Contact Form 7 <= 5.16.0 - Cross-Site Request Forgery via Admin App REST Request Path
- ID
- WPSEC-2026-4720
- Plugin
- Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification (double-opt-in)
- Affected
- from 5.1.1 before 5.16.1
- Remediation
- Update to 5.16.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness
- CWE-352
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-06
- Attack surface
- Double Opt-In for Contact Form 7 on WPSec AttackSurface
- Fix released
- Published
Description
The Double Opt-In for Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 5.16.0. This is due to the plugin's React admin app putting values from the address bar (route parameters such as the opt-in ID or the form integration and ID) into REST API request paths without validating them. Dot-segments and query strings in those values let the request leave the plugin's own REST routes, and the request carries the administrator's REST nonce. This makes it possible for unauthenticated attackers to make the admin app send requests to other WordPress REST API endpoints with the administrator's permissions, including state-changing requests through method-override parameters, which could modify site data or settings. The attacker must trick a logged-in site administrator into opening a crafted link.
References
- https://wpsec.com/vuln/WPSEC-2026-4720/
- https://plugins.svn.wordpress.org/double-opt-in/tags/5.16.1/
- https://wordpress.org/plugins/double-opt-in/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS