Contact Form 7 <= 6.2.4 - Unauthenticated Insecure Direct Object Reference to Post Disclosure
Strategic Overview
- Status
- Patched in 6.2.5
- Affected Plugin
- Contact Form 7
- Affected Version
<= 6.2.4- CVSS
- 5.3Medium
- Weakness type
- CWE-639 · Authorization Bypass Through User-Controlled Key
- CVE
CVE-2026-120406
At a glance
CVE-2026-120406 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the Contact Form 7 WordPress plugin, affecting versions <= 6.2.4. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 6.2.5; sites on affected versions should update now. Disclosed November 2026, reported by Doston Abdullayev.
Vulnerability Overview
The Contact Form 7 plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 6.2.4 via the due to insufficient restrictions on which posts can be included. This makes it possible for unauthenticated attackers to extract data from password protected, private, or draft posts that they should not have access to.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-639: Authorization Bypass Through User-Controlled Key
Reaching this weakness in Contact Form 7 <= 6.2.4 takes no account at all. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.
Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For Contact Form 7 the fix is 6.2.5: builds <= 6.2.4 are affected, anything from 6.2.5 onward is not.
Remediation
Update to version 6.2.5, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Contact Form 7 6.2.5 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in Contact Form 7
- 9.8CVE-2026-114432: Contact Form 7 6.2 - 6.2.3 Arbitrary File Upload
CVE-2026-114432 - 9.8Contact Form 7 6.2 - 6.2.3 Arbitrary File Upload
- 9.8Contact Form 7 <= 3.5.2 Arbitrary File Upload
- 8.1CVE-2020-35489: Contact Form 7 <= 5.3.1 Arbitrary File Upload
CVE-2020-35489 - 6.6CVE-2023-6449: Contact Form 7 <= 5.8.3 Arbitrary File Upload
CVE-2023-6449 - 6.3CVE-2018-20979: Contact Form 7 <= 5.0.3 Authorization Bypass
CVE-2018-20979 - 6.1CVE-2024-4704: Contact Form 7 <= 5.9.4 Open Redirect
CVE-2024-4704 - 6.1CVE-2024-2242: Contact Form 7 <= 5.9 Reflected Cross-Site Scripting
CVE-2024-2242
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C